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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-28-2003, 07:32 PM
|
#1
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Rep:
|
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.
|
|
|
07-28-2003, 07:45 PM
|
#2
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Hi Devboy
Can you post the line your using to mount the drive?
|
|
|
07-28-2003, 07:48 PM
|
#3
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
yeah its:
/dev/hdb5 /mnt/downloads vfat defaults,owner,umask=000,gid=100 0 0
|
|
|
07-28-2003, 07:48 PM
|
#4
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,374
|
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.
|
|
|
07-28-2003, 07:52 PM
|
#5
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Hi Devboy
Try
/dev/hdb5 /mnt/downloads vfat auto,rw,umask=000 0 0
|
|
|
07-28-2003, 08:11 PM
|
#6
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
nope dident work still stuck and very frustrated.
|
|
|
07-28-2003, 08:23 PM
|
#7
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Hi Devboy
What exact access have you currently got to the files on the mounted partition?
|
|
|
07-28-2003, 08:29 PM
|
#8
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
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.
|
|
|
07-28-2003, 08:40 PM
|
#9
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
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.
|
|
|
07-29-2003, 09:46 AM
|
#10
|
Member
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421
Rep:
|
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.
|
|
|
07-29-2003, 07:48 PM
|
#11
|
Member
Registered: Jul 2003
Location: IOM
Distribution: Slackware 10.
Posts: 194
Original Poster
Rep:
|
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 09:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|