Linux - NewbieThis 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.
I have a partition in the fat32 filesystem which belongs to root:root. I tried to set a <user> as owner with the command: chown -R <user> /path/ but the output reads operation not permitted. Ofcourse I did this as a root.
Any suggestions?
It may be possible, but I've tried several times to chmod and chown files on a fat32 partition, and it always fails. I can read and even modify those files, but only as root. I can't by any means get regular user access, other than just to read. Infuriating by far.
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288
Rep:
Quote:
Originally posted by JimBass It may be possible, but I've tried several times to chmod and chown files on a fat32 partition, and it always fails. I can read and even modify those files, but only as root. I can't by any means get regular user access, other than just to read. Infuriating by far.
Peace,
JimBass
What you need to understand is that the fat32 filesystem (win95/98) has no internal permission/ownership attributes (Beyond the old system/hidden/ro bits of 9x) . When you mount a fat32 (vfat) partition under linux, the entire mounted partion is collectively assigned linux attributes. As mentioned by chii-chan, this is controlled by fstab, and cannot be changed with chown/chmod, only by remounting the partition with other options.
Originally posted by rafc I now formatted the partition to ext3. I am the owner of it, but I can't write to it, though I have all permissions.
Make a new directory inside that new partition and then chown the directory to the user. You cannot write directly to the '/' (root) partition as a user (unless, maybe you change the fstab setting to enable that, maybe possible, not sure about that) with default setting.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.