LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2003, 07:32 PM   #1
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Rep: Reputation: 30
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.
 
Old 07-28-2003, 07:45 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Devboy

Can you post the line your using to mount the drive?
 
Old 07-28-2003, 07:48 PM   #3
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
yeah its:

/dev/hdb5 /mnt/downloads vfat defaults,owner,umask=000,gid=100 0 0
 
Old 07-28-2003, 07:48 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,374

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
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.
 
Old 07-28-2003, 07:52 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Devboy

Try

/dev/hdb5 /mnt/downloads vfat auto,rw,umask=000 0 0
 
Old 07-28-2003, 08:11 PM   #6
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
nope dident work still stuck and very frustrated.
 
Old 07-28-2003, 08:23 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Devboy

What exact access have you currently got to the files on the mounted partition?
 
Old 07-28-2003, 08:29 PM   #8
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
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.
 
Old 07-28-2003, 08:40 PM   #9
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Hi Devboy

Can you post your /etc/fstab file ?

and try

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

Last edited by Skyline; 07-28-2003 at 08:47 PM.
 
Old 07-29-2003, 09:46 AM   #10
koyi
Member
 
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
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.

Last edited by koyi; 07-29-2003 at 09:48 AM.
 
Old 07-29-2003, 07:48 PM   #11
Devboy
Member
 
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194

Original Poster
Rep: Reputation: 30
sorry about the late reply but ive been very busy and thankyou veyr much Koyi thats done the trick nicly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing permissions of FAT32 drive frogrocker Ubuntu 2 12-03-2005 05:51 PM
automounting fat32 drive with correct permissions johannlo Linux - General 1 07-05-2005 09:37 PM
Having problems mounting a drive (with appropriate permissions...) Robhogg Linux - Hardware 3 11-01-2004 03:14 PM
fat32 permissions change/tar problems microsoft/linux Debian 5 10-18-2004 10:03 AM
Permissions Problem with FAT32 Drive lawrencegoodman Linux - Newbie 4 11-13-2003 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration