How to configure Permission of a directory that i created in / named as ENTRY such that who create contents in that directory can only modify that contents. I am using RHEL 7

  • Welcome to Super User. Your question is unclear. What do you mean by "contents in directory"? File permissions govern if one can modify data, the file content. Directory permissions govern if one can modify some metadata (like name), directory entries. Also "one can only modify" may be "only this user" or "only this action: modification (but not removal)". Please edit the question and clarify, state your needs more clearly. – Kamil Maciorowski Aug 24 '18 at 5:14

May be you are looking for setting the sticky bit on the directory. As for the file contents, the permissions of the individual files would govern who can modify the file contents.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.