What is the difference between chmod and setfacl




















To use Linux ACLs make sure that you have required packages installed. Below are the required packages that need to be installed using yum or apt-get. This can be done using setfacl as follows. We also learned how to check for Kernel and filesystem acl support and how to install the required packages. If you have any thoughts or comments about linux acl, please write it down in the comments section below.

ChocoDeveloper ChocoDeveloper 2, 9 9 gold badges 25 25 silver badges 41 41 bronze badges. Add a comment.

Active Oldest Votes. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Does ES6 make JavaScript frameworks obsolete? Podcast Do polyglots have an edge when it comes to mastering programming However, since chmod has existed for a very long time, many applications call it, many archive formats support the classic permissions, etc.

See Precedence of user and group owner in file permissions and Precedence of ACLS when a user belongs to multiple groups for a more detailed treatment of how access control works in the presence of ACL. The chmod command also controls some flags which aren't really permissions, but are often called permissions nonetheless: setuid, setgid and the sticky bit. These aren't really permissions since they don't affect which accesses are authorized on the file, but how certain operations on the file work after they have been authorized.

There's nothing like this with ACL. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 4 years, 6 months ago.

Active 2 years, 8 months ago. Viewed 24k times. Improve this question. Chaminda Bandara 1 1 gold badge 6 6 silver badges 21 21 bronze badges. Add a comment. Active Oldest Votes. One is not better than the other, they are just different methods and way of thinking.



0コメント

  • 1000 / 1000