LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to mount ntfs partition so a group can write to it? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-mount-ntfs-partition-so-a-group-can-write-to-it-375942/)

greengrocer 10-22-2005 11:15 PM

How to mount ntfs partition so a group can write to it?
 
I have an NTFS partition which is mounted by fstab at bootup.

User can read from it, but not write to it.

Root can read and write to it.

I want to set the mounted NTFS parition so that a group can write to it, and then I can add users to that group.

Any ideas?

microsoft/linux 10-22-2005 11:20 PM

you really shouldn't be writing to a NTFS partition. It's not safe, it may corrupt data. There are some projects that are supposed to be able to write to NTFS, but I think they are still experimental as well.

greengrocer 10-22-2005 11:33 PM

Sorry, just realised its not NTFS, its fat32 !

btmiller 10-23-2005 12:26 AM

Use the gid and umask options to mount, e.g. if the group you want to have write access has numeric ID 500:

mount -o uid=0,gid=500,umask=002 <device> <mount point>

You can add this to the options field in /etc/fstab if you have this mount set up in there, so the options get applied whenever you mount it.

Basically:
-- MSDOS based filesystem don't do *nix style permissions, so Linux fakes it for you.
-- You use the uid and gid options to determine owner and group of files on vfat volumes.
-- The umask gives what permissions are denied. A umask of 002 denies no permissions for user and group, and denies write permission for others.


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