Solved

Unable to assign permission on "File System" directory

Posted on 2008-10-03
5
684 Views
Last Modified: 2013-12-16
I am unable to assign permission to anyone on "File System" Directory in My Computer even after logging with Root Account. I get an error message "The permission cannot be changed. Sorry, cou;dn't change the permission of "Filesystem".
As per the screenshot, i am trying to assign permission of "Read and Write" access to "Others"
Everything works fine on other directories as well as new directory/folder that i create.

Please check the screenshot for more details
Linux-file-permission.jpg
0
Comment
Question by:Hardeep_Saluja
5 Comments
 
LVL 8

Accepted Solution

by:
StrongBad_Rules earned 400 total points
ID: 22639690
edit your /etc/fstab file to set the permissions,

try something like this:

#DEVICE MOUNT POINT FILE SYSTEM PERMISSIONS
/dev/hda2 /mnt/winc vfat rw,exec,uid=1000,gid=1000,auto 0 0


"uid" and "gid" tags tell to Linux which owner (user and group) to set, you must change them to user and owner id that you prefer, to discover gid and your uid of any user do this:

id user_name


if you omit "user_name" your uid and gid will be returned, surely you will have many gid, don't worry about this!

"auto" option means that the filesystem is mounted on boot.

you can learn more typing

man fstab
man mount
man id
0
 
LVL 48

Expert Comment

by:Tintin
ID: 22639737
It appears the directory you are trying to change is possibly a NFS mounted directory.
0
 
LVL 1

Assisted Solution

by:pepecura
pepecura earned 100 total points
ID: 22641850
It seems that it is a SELinux issue. I am not experienced on SELinux but the following link may help you. The file_t part seems relevant to your problem.  

http://fedoraproject.org/wiki/SELinux/Troubleshooting/AVCDecisions

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many people tend to confuse the function of a virus with the one of adware, this misunderstanding of the basic of what each software is and how it operates causes users and organizations to take the wrong security measures that would protect them ag…
Article by: btan
The intent is not to repeat what many has know about Ransomware but more to join its dots of what is it, who are the victims, why it exists, when and how we respond on infection. Lastly, sum up in a glance to share such information with more to help…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question