LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   openSUSE 10.3, NTFS write permission (https://www.linuxquestions.org/questions/suse-opensuse-60/opensuse-10-3-ntfs-write-permission-589688/)

danreed007 10-05-2007 11:26 AM

openSUSE 10.3, NTFS write permission
 
Hi all

Ive just installed opensuse 10.3 all excited that it is supposed to give automatic read/write access to NTFS partitions via NTFS-3g which is now built into suse. However, it seems that only root has write access to ntfs partitions. As a simple user I can only read the partitions and write access is denied. I enclose my '/etc/fstab' entry (generated by the installation; I have not changed it) and 'ls-l' of the windows mount points to see if you guys/girls can help:

/etc/fstab:
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part2 /windows/C ntfs-3g users,gid=users,fmask=133,dmask=022,locale
=en_GB.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part5 /windows/D ntfs-3g users,gid=users,fmask=133,dmask=022,locale
=en_GB.UTF-8 0 0
/dev/disk/by-id/scsi-SATA_WDC_WD1600BEVS-_WD-WXE107257702-part6 /windows/E ntfs-3g users,gid=users,fmask=133,dmask=022,locale
=en_GB.UTF-8 0 0

ls -l /windows:
drwxr-xr-x 5 root root 120 2007-10-05 12:37 windows

ls -l /windows/E:
drwxr-xr-x 1 root users 4096 2007-09-20 17:14 Documents
drwxr-xr-x 1 root users 0 2007-09-23 12:47 Downloads
drwxr-xr-x 1 root users 4096 2007-10-05 16:58 Images
drwxr-xr-x 1 root users 0 2007-09-19 16:51 Misc
drwxr-xr-x 1 root users 4096 2007-09-19 15:13 Movies
drwxr-xr-x 1 root users 4096 2007-09-24 19:35 Music
drwxr-xr-x 1 root users 0 2007-09-14 21:13 $RECYCLE.BIN
drwxr-xr-x 1 root users 0 2007-09-14 23:01 System Volume Information

Thanks for any help

igu 10-05-2007 02:02 PM

Remove the fmask=133,dmask=022 options then it should work for users too.

danreed007 10-06-2007 09:29 AM

Quote:

Originally Posted by igu (Post 2914528)
Remove the fmask=133,dmask=022 options then it should work for users too.

Can you tell me exactly what those parameters mean? Thanks

danreed007 10-06-2007 11:57 AM

I downloaded and installed ntfs-config and used it as root to change the write permissions...all is well now.

Watever 01-12-2008 03:39 PM

I had the same problem on Suse 10.3, after installing ntfs-config in Yast and running it. I was still not working. After unchecking and rechecking my drives everything worked fine.

Hope this helps someone. Try uncheck and check again.

bottled leaf 01-18-2008 09:12 PM

all you really had to do was change users,gid=users,fmask=133,dmask=022,locale
=en_GB.UTF-8 0 0 to defaults 0 0. i just did it and it worked. but you have to be in root to change the fstab

lin_myworld 01-20-2008 05:30 PM

fmask=133,dmask=022


what does that parameter mean.

jschiwal 01-20-2008 06:02 PM

Quote:

Originally Posted by lin_myworld (Post 3029544)
fmask=133,dmask=022


what does that parameter mean.

fmask is a umask just for files. The 'x' bit is cleared for owner. The 'wx' bits are cleared for group and others. The dmask given clears the write permission bit for group and others. The 'x' bit is different for directories. It allows you to enter a directory.

If you are the only user of this machine you could use 'uid=<yourusername>',fmask=177,dmask=077' to give you full exclusive access.


All times are GMT -5. The time now is 11:25 AM.