SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
I installed a 40gig HD on my system and formatted it with FAT32. I currently have a dual boot system (Suse 10/Win2k). My idea was that the drive could be used by both Windows and Suse. I finally have it where I can write to it when I am logged is as root, but not as a regular user. I right click on the drive and go to properties. I changed the permissions for "group" and "others", but when I go back later, the permissions are back to "view content only".
Rickh, just wondering, how come sometimes on my FAT partition mounted with same options as you have, I still don't have permission to modify a file? After chmod 777, it works fine.
I thought umask=000 kind of "negated" any permissions?
One, "umask=000" works, but so does "umask=0". The trailing two zeros are not needed.
Two, this makes the directory contents (but not the mount point, that is done with chmod) open to all users on the system, which is what you want. Remember that fat32 does not have unix permissions built in on the file level, for that you need umsdos which is a fat-hack that adds a text file to each directory with a list of contents and their respective unix permissions.
Using umsdos allows you to install and run a linux system from a fat partition. (not advised) Such an example is ZipSlack.
I don't want to argue whether it should be umask=000 or umask=0. The later works perfectly on my Ubuntu system, but I have heard of problems with suse requires all three bits to be set.
The way umask works is simple: As it has been said before, fat32 doesn't know permissions. This means you can only set global permissions for the whole filesystem. umask "substracts" from full Unix permissions (chmod 777). So if you'd like to restrict access to members of the mounting group, you need to change the second and third bit, e.g. umask=022 to give chmod 755 permissions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.