LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help im having problems with permissions on my fat32 drive!!! (https://www.linuxquestions.org/questions/linux-newbie-8/help-im-having-problems-with-permissions-on-my-fat32-drive-76749/)

Devboy 07-28-2003 06:32 PM

help im having problems with permissions on my fat32 drive!!!
 
hey ive mounted a fat32 hard drive but am haiving problems with, i can make and delete files but when i put a file on it its automaticly a root user only file! so i carnt open it directly of the disk i have to move it then open it otherwise i carnt open it can someone help me please.

Skyline 07-28-2003 06:45 PM

Hi Devboy

Can you post the line your using to mount the drive?

Devboy 07-28-2003 06:48 PM

yeah its:

/dev/hdb5 /mnt/downloads vfat defaults,owner,umask=000,gid=100 0 0

jailbait 07-28-2003 06:48 PM

The fat32 file system does not support users, groups, and permissions. Linux "fakes" such things by giving every file the same permissions and owner as the directory the partition is mounted on. So you set the mountpoint directory to whatever user and permissions you want and all the other files will automatically follow.

If you make the mountpoint somewhere in /home/user then you can make user the owner. If you make root the owner you could set the permissions to 777. Or whatever setup suites your needs best.

When working with the mountpoint permissions you may have to unmount the device, change the permissions, and then remount the device.

Skyline 07-28-2003 06:52 PM

Hi Devboy

Try

/dev/hdb5 /mnt/downloads vfat auto,rw,umask=000 0 0

Devboy 07-28-2003 07:11 PM

nope dident work still stuck and very frustrated.

Skyline 07-28-2003 07:23 PM

Hi Devboy

What exact access have you currently got to the files on the mounted partition?

Devboy 07-28-2003 07:29 PM

i can copy them etc its just when i go to open them of the hard drive its self! it says somit like carnt open you may not have permission.

Skyline 07-28-2003 07:40 PM

Hi Devboy

Can you post your /etc/fstab file ?

and try

/dev/hdb5 /mnt/downloads vfat defaults,umask=000 0 0

koyi 07-29-2003 08:46 AM

Try this:

/dev/hdb5 /mnt/downloads vfat auto,uid=500,rw 0 0

change the uid if yours is not 500... I think there is a gui tool to manage users and groups in Redhat 9.0...

p/s I've tried mounting it under my home directory /home/khoyee/win before, it works without problems. Perhaps you can try that instead of /mnt/downloads if you have any problems. :)

Devboy 07-29-2003 06:48 PM

sorry about the late reply but ive been very busy and thankyou veyr much Koyi thats done the trick nicly.


All times are GMT -5. The time now is 12:54 PM.