DEV Community

Lana Kushnir
Lana Kushnir

Posted on

Fix chmod permissions

Error:
$chmod 755 hosts
=> chmod: Unable to change file mode on hosts: Operation not permitted

Fix:
$sudo chown -R $(whoami) .
$chmod 755 hosts

Top comments (0)