Jump to content

Comando shell para mudar permissão de diretórios


Recommended Posts

21 minutos atrás, olokz disse:

# chmod 755 -R /home/

isso vai mudar todas as permissões de todos arquivos/ diretórios dentro do /home/

Sugiro que evite chmod recursivo. Pense em um ambiente cPanel:

/home/user/mail trabalha com chmod 711
/home/user/.cpanel trablha com chmod 700
..

Sem contar o próprio /home/user que é chmod 751.
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Do you agree with our terms?