Thursday, April 13, 2017

aelO@ - OSX File Permissions

Most people know about the standard file permissions on *NIX systems.
However on OS-X there are actually 4 systems for setting file permissions/ACL's/Attributes/Flags:

Basic File Permissions

ls -l
chmod u+w FILE

Access Control List (ACL)

ls -le
chmod +a “everyone deny delete” FILE

Extended Attributes

ls -l@
xattr -d FILE

File Flags

ls -lO
chflags nouchg FILE


You should also throw a -a option into the ls command, so that you show hidden (.) files, therefore if you want to see what permissions are being applied to all your files you need the following command:

ls -aelO@

1 comment:

  1. As it certainly one of the|is among the|is doubtless considered one of the} most popular strategies in casinos right now 토토사이트 in Canada, it comes with many benefits. They can often be triggered mechanically or after entering a casino bonus code. In addition, their video games may be played by native speakers and by clients talking 26 totally different languages.