file permissions on VFAT partition - access denied
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
file permissions on VFAT partition - access denied
WHen I log in as root I CAN SEE all of my files/dir in a fat partition.
WHen I login as a user and try to access those same directories, it gives me back the message asscess denied. However I checked the permissions and OTHER has r read permissions.
I tried changing the permissions to chmod o+rwx "My Documents" , just in case...but it doesn;t allow me to change the permissions.
One more thing...as a regular user I checked the properties for the directories I want access to and it says it is an unknown type.
To change permissions on a non-Linux partition, you will have to edit /etc/fstab by adding the umask option to the FAT entry.
Here is an example of syntax:
thanks, before I got your response I tried the following and it seemed to work:
/dev/hda6 /fatmydoc vfat uid=1033 1 0
where uid=1033 is the user id of my username. although this doesn't help if I need username2 to access this same partition.
can you tell me what the the umask feature would do....and am I completely wrong with the above statement. It works fine now but I would not want to have problems down the road.
umask normally controls the default permissions on a newly created file. A umask of 022 will give you a -rw-r--r-- file, so that only you can modify the file while other can read it. A 002 will give you a -rw-rw-r-- file, this allows members of the same group to modify your file.
In this case it is controlling the default mask of the files in the file system. If you use the method above all users will be able to access the files in the vfat partition.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.