Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

public access authorization to my fat32 partition

Status
Not open for further replies.

haux

Programmer
Apr 11, 2001
79
DZ
I have in the fstab this line :
/dev/hda1 /mnt/hda1 vfat defaults 0 0

and when this partition isn't mounted i have this directory :

drwxrwxrwx 2 root disk 4096 avr 28 20:12 hda1

but when i mount it with "#mount /mnt/hda1"
it change to :

drwxr-xr-x 15 root root 4096 jan 1 1970 hda1

who i mount it with the disk group permission to Read&Write.
So i will juste make a user to be in 'disk' group to permit him to Read&Write to this partition ???
 
Change the fstab line :
/dev/hda1 /mnt/hda1 vfat owner 0 0

this will only let the owner (or root) mount the filesystem.
Read "man mount" for more details...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top