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.
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.
Hello, I have a Fat Partition that is automatically mounted at start up as /share. I want all users to have rwx permissions so I opened a terminal and typed sudo chmod -R 777 /share it finished with no errors but when I tried to modify a image in /share/souls/11.26.2005 I was unable to rewrite the file. ls -l shows that all the folders and files in /share are still 755. I tried sudo chmod -R 777 again and still they all are 755.
Is there something about changing the permissions with a diffrent partition that I am missing?
I think, you have to change the permissions in /etc/fstab. No access to a linux machine with a FAT partition at this moment, so I'm not sure what the exact line must be.
Distribution: Kanotix HD Install, Debian Testing, XP Pro,Vista RC1
Posts: 145
Rep:
I had some of the same issues. Linux file permissions don't really mean anything to a Windows partition. I fixed my problems in fstab using "default" instead of trying to tell it what I thought they should be. My line appears as /dev/hdc5 /mp3 vfat defaults 0 0 and it works for me.
The FAT32 disk format does not contain any space for "permissions," or "user" or "group," or all those other nice Unix ideas. Only the concept of "read-only" files and "hidden" files. So, when you mount such a partition, Linux has to fake-it. Usually, the files on the device are either writeable to everyone or they appear to "belong to" whomever mounted the drive.
FAT32 is simply a filesystem where ... security does not exist.
users,rw,umask=000 did something, /share now appears as apart of my computer, like a cd drive in gnome. but I still can't write to it as a regular user. I also tried sudo chmod -R 777 /share again it paused for a wile and still did nothing.
The FAT32 disk format does not contain any space for "permissions," or "user" or "group," or all those other nice Unix ideas. Only the concept of "read-only" files and "hidden" files. So, when you mount such a partition, Linux has to fake-it. Usually, the files on the device are either writeable to everyone or they appear to "belong to" whomever mounted the drive.
Very true, but you can still limit the access to the partition itself. And that's what was the case for TS and he/she did not like it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.