Mailinglist Archive: opensuse (1002 mails)

< Previous Next >
Re: [opensuse] Cannot write to Windows partition(s)
On 2011/07/27 16:12 (GMT+1000) Basil Chupin composed:

Apologies for asking this question which I know has been asked before
and to which I did know the answer but after searching the oS
documentation and googling I am still non the wiser.

I just installed oS 11.4 on a set of drives which also have XP
installed. From oS I can read files from the Windows partitions but
cannot write to them as user (but can as root) - so it is a permission
problem. The (typical) entry in fstab for the Windows partions is:

/dev/disk/by-id/ata-WDC_WDxxxxx -part8 /windows/G ntfs-3g
users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0

Could someone please point me to the place where I can solve this problem?

dmask, fmask & umask are all octal inversions of chmod usage.

fmask=133 produces -rw-r--r--, like chmod 644
dmask=022 produces drwxr-xr-x, like chmod 755

In any event, I set fmask=0111 & dmask=0000, giving dirs drwxrwxrwx and files -rw-rw-rw-. Why the installer sets what it sets I have no idea, other than risk of naive writes to NTFS making things in Windows work no longer while booted to it.
--
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata *** http://fm.no-ip.com/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
References