Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: stephen on May 15, 2004, 06:10:32 AM

Title: Samba VFAT Permissions
Post by: stephen on May 15, 2004, 06:10:32 AM
I have installed RedHat Linux9 as Server and I have Configured Samba for Windows File Sharing.I am having two Fat Partitions on My Hdd and I have shared them in Samba.Here I am facing a problem that i can't get the write permission on that Two Partitions.I have mounted the two partitions and i have updated them in /etc/fstab Like

/dev/sda1     /vol1     vfat  defaults   0 0
/dev/sda5     /vol2     vfat  defaults   0 0

May i know how to give the permissions for that two partitions to write.
Kindly help me.
Title: Solved the Samba server
Post by: Shams on May 15, 2004, 11:48:34 AM
You can chown of ur mount directory or chmod it to access the users that can be read and write to it
chmod +rw /MOUNTPOINT_OF_HDD
chown  nobody /MOUNTPOINT_OF_HDD
 :)
Title: Samba
Post by: stephen on May 16, 2004, 01:11:33 PM
Hai, In /etc/fstab,i have found one solution by mounting the Partitions like i

/dev/sda1    /win  vfat user,exec,rw,umask=000  0 0

Here i can get write permission for all users by disabling umask.But i can't change any setting to change the group or changing the file permissions.Is there any solution for that?