Aix chmod the file system has read permission only




















Hi, I want to create a new user,and I want to give read permission to a folder which owned by root. How can I do this? Join Date: May I doubt that you want to give read-only permission for the directory, because this will effectively deny the user any access to it. You rather want to give read-only permission for the files in the directory , yes?

Well, here is what you said you wanted: Make the group ownership of the directory and the group membership of the user identical either by making the directory owned by the a group the user is member of or including the user into the group that owns the directory , then set read-only permission for this group: Code :. I want to give read permisson for user serdar to this file.

The user serdar must only have read this file privileges. First you need to make sure user "serdar" has read- and execute-rights for the directory the file is in.

Then you have to do as i already suggested for the directory, but with the file: either you make it readable by everyone that would include your user in question , or you make the group set of the user include the group which owns the file i suppose you do not want to give the file ownership away from root, otherwise you could have the file directly be owned by the user. I suggest you really read the mentioned tutorial by perderabo. I create user using this commands; Code :. Last edited by bakunin; at PM..

Hi, I need to grant read permission to a normal user on sulog file on AIX 6. As root I did acledit sulog and aclget shows "extended permissions" as "enabled" and normal user "splunk" has read permissions. When I try to access sulog as splunk user it won't allow and aclget for splunk user Assign read write permission to the user for specific dir and it's sub dir and files in AIX.

I have searched this quite a long time but couldn't find the right method for me to use. I need to assign read write permission to the user for specific directories and it's sub directories and files. I do not want to use ACL. I do not want to assign user the same group of that directories too Read mail attachments in AIX. Create a free Team What is Teams? Learn more.

Chmod error changing permission read only file system Ask Question. Asked 7 years ago. Active 5 months ago. Viewed 75k times. Improve this question. Kulfy 16k 25 25 gold badges 54 54 silver badges 96 96 bronze badges. Fourat Fourat 1 1 gold badge 2 2 silver badges 6 6 bronze badges. There's nothing in your question that shows us the location of '74A7-A44E'.

Please update your question with the output of mount and where the directory you cannot change permissions of actually is. Are you trying to apply chmod command on a file that exists on USB? The cause of such errors is usually filesystem corruption, so you'll need to check it for errors in Windows. If I'm not mistaken, FAT partitions don't have 'permissions'. Possible duplicate of How to make read-only file system writable? Add a comment. Active Oldest Votes.

Other users only have as much access as given to them when configuring permissions, while the root user has all privileges for all files. For instance, the Example directory contains three files test1. Note: Do you want to learn more about file permissions and how they are defined? Refer to the Linux File Permission Tutorial. It is common to use the basic chmod command to change the permission of a single file. However, you may need to modify the permission recursively for all files within a directory.

In such cases, the chmod recursive option -R or --recursive sets the permission for a directory and the files it contains. Therefore, to set the permission for all files in the Example directory, you would type:. The command gives read, write, and execute privileges to the owner 7 and read and execute access to everyone else To assign separate permissions to directories and files, you can use the find command.

Avoid assigning execute privileges to files. A common setup would include running the following commands:.



0コメント

  • 1000 / 1000