Fwd: Re: [opensuse] Cannot write to Windows partition(s)
I am FWD-ing this response because following my installation of KDE4.7 yesterday, Thunderbird (5.0), oSs version, for one but not the only app., is behaving as if it is on some hallucinating 'substance' :'( : any mouse left-clicks (LCs) act as if they are double-clicks and can close down either Fffirefox or TB when I click on the "X" top RH corner, and all keys repeat at random when I type (see the "oSs version" above which I deliberately left unaltered). Oh...I just noticed the "Fffirefox" :-( . I responded to Felix in this forum bbut my response I noticed when to him directly and not to this list - which is why I am FWD-ing this message. Sssorry about this. On 07/27/2011 04:56 PM, Felix Miata wrote:
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.
Many thanks for this, Felix. I can now write to the partitions. Your explanation gave me the opportunity to (finally :-) ) come to grips with this permission stuff a lot better than I did before. I noted that you are using 4 digits in your masks but fstab is using only 3. In coming to grips with this permissions 'hassle' I read that the 4-digit approach should be used because it leaves the 4th digit undefined and therefore in its default state. Does this mean, if you know that is, that either 1) openSUSE is not following the more prudent method of coding or 2) openSUSE does not recognise/use the 4-digit approach? Thanks again for your help. BC -- Paradise is like Hell and neither is too far from you because both are creations of your mind and therefore both are already inside you. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
Basil Chupin