acl i flag pod macintoshem

Gdy po zastosowaniu
chmod -R 777 folder – plików nie można kasować przenosić
rozwiązanie:
ls -le (wyświetlenie z acl)
usunięcie złośliwej acl
chmod -a# 0 <nazwa_pliku> (usunięcie pierwszej acl)
sudo chmod g+rwx "Copy of index.php" 

chmod: Unable to change file mode on Copy of index.php: Operation not permitted
rozwiązanie:
SetFile (and Dev tools) not needed.

chflags nouchg
/path/to/item

will do that trick as well (and chflags comes on all OSX Macs).

Probably the most important command for users to learn is ls

ls -lOe
/path/to/item

źródło:

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>