FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Sat Jan 16, 2021 04:47



Post new topic Reply to topic  [ 8 posts ] 
[SOLVED] Win7 rc1 partitions and ntfs-3g question? 
Author Message

Joined: Thu May 14, 2009 19:23
Posts: 5
Post [SOLVED] Win7 rc1 partitions and ntfs-3g question?
I have installed the Win7 RC1 on one of my partitions. Linux was not able to write on the Windows 7 partition (writes work on Windows XP partitions). I found it puzzling that Linux's chmod/chown did not function on the Windows 7 files just the directories. I am thinking that Microsoft has changed their win7 rc1 ntfs format requiring updates to ntfs-3g in-order to get full functionality again or do I need special fstab entries for full functionality? Here is my fstab entries:
Code:
/dev/sda1                       /home/winxp/c           ntfs-3g noatime,uid=1000,gid=100                0 0
/dev/sda5                       /home/winxp/d           ntfs-3g noatime,uid=1000,gid=100                0 0
/dev/sdb2                       /home/win7/c            ntfs-3g noatime,uid=1000,gid=100                0 0
/dev/sdb5                       /home/win7/d            ntfs-3g noatime,uid=1000,gid=100                0 0

Has anyone else seen this issue?
Thanks.


Thu May 14, 2009 19:46
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: Win7 rc1 partitions and ntfs-3g question?
Remove the uid and gid mount options or use advanced NTFS-3G. The driver works fine with Windows 7.

Regards, Szaka


Thu May 14, 2009 19:49
Profile

Joined: Thu May 14, 2009 19:23
Posts: 5
Post Re: Win7 rc1 partitions and ntfs-3g question?
Okay, I have removed the uid and gid from fstab ntfs partition entries. Unmounted and mounted the win7 partition, root still can not write to mounted partition. I am using ntfs-3g 2009.4.4. I have searched the http://www.ntfs-3g.org/index.html but I have not been able to locate advanced ntfs-3g. Where would I find the sources for it or is it just a special configure option?


Thu May 14, 2009 20:06
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: Win7 rc1 partitions and ntfs-3g question?
There can be many reasons why you are not allowed to write. The first step would be to describe what you are doing and what is the exact error message. For example "when I type 'cp foo bar' on the command line then I get the error message "cp: cannot stat `foo': No such file or directory".


Thu May 14, 2009 20:11
Profile

Joined: Thu May 14, 2009 19:23
Posts: 5
Post Re: Win7 rc1 partitions and ntfs-3g question?
Thanks for the quick replies, szaka.
I tried to copy a file:
Code:
root /home/win7/c #  cp /home/pub/test.txt ./
cp: cannot create regular file `./test.txt': Permission denied

I tried to create a file with touch:
Code:
root /home/win7/c #  touch test.txt
touch: cannot touch `test.txt': Permission denied

On the winxp the touch works without issue:
Code:
root /home/winxp/d #  touch test.txt
root /home/winxp/d #  ls -l test.txt
-rwxrwxrwx 1 1000 users 0 2009-05-14 12:34 test.txt

Mount command shows:
Code:
root /home/winxp/d #  mount
/dev/sdb2 on /home/win7/c type ntfs (rw)

It shows that /home/win7/c is read/write.
The permissions for the win7 partition:
Code:
root /home/win7/c #  ls -l                                                                         
total 6420296                                                                                   
drwx------ 1 root root          0 2009-05-12 20:42 $Recycle.Bin                                 
-rw------- 1 root root       8192 2009-05-12 22:30 BOOTSECT.BAK                                 
drwx------ 1 root root       4096 2009-05-12 22:30 Boot                                         
drwx------ 1 root root          0 2009-04-22 02:27 Documents and Settings                       
-rw------- 1 root root          0 2009-05-13 19:35 IO.SYS                                       
-rw------- 1 root root          0 2009-05-13 19:35 MSDOS.SYS                                     
drwx------ 1 root root          0 2009-05-12 21:27 MSOCache                                     
drwx------ 1 root root          0 2009-05-13 23:43 PerfLogs                                     
drwx------ 1 root root      12288 2009-05-13 22:23 Program Files                                 
drwx------ 1 root root       4096 2009-05-13 22:26 ProgramData                                   
drwx------ 1 root root          0 2009-05-12 20:42 Recovery
drwx------ 1 root root       8192 2009-05-13 23:47 System Volume Information
drwx------ 1 root root          0 2009-05-13 22:59 Temp
drwx------ 1 root root      16384 2009-05-14 00:37 Tmp
drwx------ 1 root root       4096 2009-05-12 20:42 Users
drwx------ 1 root root       4096 2009-05-14 00:34 WinTemp
drwx------ 1 root root      32768 2009-05-13 15:38 Windows
-rw------- 1 root root         24 2009-03-20 09:42 autoexec.bat
-rw------- 1 root root     383200 2009-04-21 23:28 bootmgr
-rw------- 1 root root         10 2009-03-20 09:42 config.sys
-rw------- 1 root root 2817384448 2009-05-13 12:41 hiberfil.sys
drwx------ 1 root root       4096 2009-05-13 16:24 opt
-rw------- 1 root root 3756515328 2009-05-13 12:41 pagefile.sys

Not sure what else to try? Any suggestions would be appreciated.


Thu May 14, 2009 20:48
Profile

Joined: Thu May 14, 2009 19:23
Posts: 5
Post Re: Win7 rc1 partitions and ntfs-3g question?
Sorry szaka, I have just located the advanced ntfs-3g on http://pagesperso-orange.fr/b.andre/adv ... fs-3g.html. So I will try and report back once I have compiled and tested. Thanks again szaka.


Thu May 14, 2009 20:58
Profile
Tuxera CTO

Joined: Tue Nov 21, 2006 23:15
Posts: 1648
Post Re: Win7 rc1 partitions and ntfs-3g question?
jspaces wrote:
Mount command shows:
Code:
root /home/winxp/d #  mount
/dev/sdb2 on /home/win7/c type ntfs (rw)

It shows that /home/win7/c is read/write.

This is the kernel NTFS driver, not NTFS-3G.


Thu May 14, 2009 21:04
Profile

Joined: Thu May 14, 2009 19:23
Posts: 5
Post Re: Win7 rc1 partitions and ntfs-3g question?
With the advanced ntfs-3g, the permissions on win7 partition look the same as winxp partition. The touch test.txt worked.
Code:
root /home/win7/c #  touch test.txt
root /home/win7/c #  ls -l test.txt
-rwxrwxrwx 1 root root 0 2009-05-14 13:05 test.txt
root /home/win7/c #  ls -l
total 6420297
drwxrwxrwx 1 root root          0 2009-05-12 20:42 $Recycle.Bin
-rwxrwxrwx 1 root root       8192 2009-05-12 22:30 BOOTSECT.BAK
drwxrwxrwx 1 root root       4096 2009-05-12 22:30 Boot
l--------- 2 root root         60 2009-04-22 02:27 Documents and Settings -> ./.NTFS-3G/C:/Users
-rwxrwxrwx 1 root root          0 2009-05-13 19:35 IO.SYS
-rwxrwxrwx 1 root root          0 2009-05-13 19:35 MSDOS.SYS
drwxrwxrwx 1 root root          0 2009-05-12 21:27 MSOCache
drwxrwxrwx 1 root root          0 2009-05-13 23:43 PerfLogs
drwxrwxrwx 1 root root      12288 2009-05-13 22:23 Program Files
drwxrwxrwx 1 root root       4096 2009-05-13 22:26 ProgramData
drwxrwxrwx 1 root root          0 2009-05-12 20:42 Recovery
drwxrwxrwx 1 root root       8192 2009-05-13 23:47 System Volume Information
drwxrwxrwx 1 root root          0 2009-05-13 22:59 Temp
drwxrwxrwx 1 root root      16384 2009-05-14 00:37 Tmp
drwxrwxrwx 1 root root       4096 2009-05-12 20:42 Users
drwxrwxrwx 1 root root       4096 2009-05-14 00:34 WinTemp
drwxrwxrwx 1 root root      32768 2009-05-13 15:38 Windows
-rwxrwxrwx 1 root root         24 2009-03-20 09:42 autoexec.bat
-rwxrwxrwx 1 root root     383200 2009-04-21 23:28 bootmgr
-rwxrwxrwx 1 root root         10 2009-03-20 09:42 config.sys
-rwxrwxrwx 1 root root 2817384448 2009-05-13 12:41 hiberfil.sys
drwxrwxrwx 1 root root       4096 2009-05-13 16:24 opt
-rwxrwxrwx 1 root root 3756515328 2009-05-13 12:41 pagefile.sys
-rwxrwxrwx 1 root root          0 2009-05-14 13:05 test.txt

Thank you and have a good one, szaka.


Thu May 14, 2009 21:09
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.