The easiest way is to do:
chmod -R u+rwX,go+rX,go-w /foo
which basically means:
to
change file modes -Recursively by giving:user:read,write and eXecute permissions,group andother users:read and eXecute permissions, but not-write permission.
Please note that
X will make a directory executable, but not a file, unless it's already searchable/executable.
No hay comentarios:
Publicar un comentario