Announcement

Collapse
No announcement yet.

What is the right permission to see the files for SFTP user?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is the right permission to see the files for SFTP user?

    I have recently set up a Magento on /var/www/html and set all files in it owned and group by www-data.

    I'm using the user on SFTP which i have added as a member of www-data.

    The directory is set with permission for the owner to be rwx and group is rw.

    When I login to FileZilla and try to access /var/www/html, I can't see any file there.

    Am I missing something?

  • #2
    Hi,
    Try to give the www-data group rwx permissions.

    sudo chmod -vR 775 /var/www/html

    Comment


    • #3
      Hi Nimbus,
      sudo chmod -vR 775 /var/www/html

      What does v stand for?

      Comment


      • #4
        Originally posted by Aiden View Post
        Hi Nimbus,
        sudo chmod -vR 775 /var/www/html

        What does v stand for?
        v stand for verbose. It shows the result of the command.

        Comment

        Working...
        X