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).
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: