LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fat partition permissions (https://www.linuxquestions.org/questions/linux-software-2/fat-partition-permissions-141549/)

doralsoral 02-02-2004 05:54 PM

Fat partition permissions
 
ok ive got a fat partition mounted on my slackbox and i can access it when im root but when i switch to a regular user there is a lock icon over the directory and it wont even let me change thepermissions as root. i can only read it. any idea how i can make it so i can read write and execute for a regular user?

snacky 02-02-2004 05:59 PM

This will let all regular users read it:

As root, unmount the filesystem. Edit /etc/fstab and add "user" as one of the options for the entry for your fat partition. Then remount it. Permanently fixed.

doralsoral 02-02-2004 06:30 PM

ok what exactly should the entry look like, i still cant get it to work, i want them to be able to write and execute it too. right now i can read it but i cant execute any of the directories within it

snacky 02-02-2004 06:37 PM

Well, this works fine for me:

Code:

/dev/hda1      /mnt/stuff        vfat              0      0
But you can also add options - which would appear after vfat - if that doesn't work.

mode=0655 as one of the options would guarantee everyone can get in.

man mount for more options.

doralsoral 02-02-2004 06:42 PM

well i had this to begin with

/dev/hda5 /home/frenchy/winblows vfat defaults 0 0

i tried putting user instead of defaults and even user,rw but i still get nothing.

snacky 02-02-2004 06:48 PM

Take out the options and make it mode=0655 and every user can read it.

doralsoral 02-02-2004 06:52 PM

i did that, do i need to reboot

snacky 02-02-2004 06:55 PM

No. Remount: umount then mount the partition. It should work immediately.

r_jensen11 02-02-2004 06:57 PM

did you umount and then remount?

doralsoral 02-02-2004 07:02 PM

yes i did

doralsoral 02-02-2004 07:13 PM

hey if youd like you can IM on gaim if you have it my screen name is Don Frenchiano id be your best friend forever :D

doralsoral 02-04-2004 10:50 AM

hey this is for snacky i think, i talked to you on gaim, just wanted to let you know that i got it working, all i had to do was add umask=000 as an option in fstab and thats all. :o


All times are GMT -5. The time now is 07:52 AM.