How do you change your rights through ssh putty?



  • Do you really need to change the rights of all the files and files on the server or some, you need to change when you add a new user to ftp or something?



  • If you have enough rights, it's done by the teams:

    (A) Maps:

    sudo find /home/user/myfolder -type d -exec chmod 0755 {} \;
    

    B) Files:

    sudo find /home/user/myfolder -type f -exec chmod 0644 {} \;
    

    File masks are standard.

    The second part of the question is, access to ftp depends very much on how you build a ftp server, I am. https://ru.stackoverflow.com/questions/541918/%D0%92%D0%BB%D0%B0%D0%B4%D0%B5%D0%BB%D0%B5%D1%86-%D0%B8-%D0%B0%D1%82%D1%80%D0%B8%D0%B1%D1%83%D1%82%D1%8B-%D0%BD%D0%B0-%D0%B7%D0%B0%D0%B3%D1%80%D1%83%D0%B6%D0%B0%D0%B5%D0%BC%D1%8B%D0%B5-%D1%84%D0%B0%D0%B9%D0%BB%D1%8B/542426#542426 it might be helpful.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2