Friday, March 5, 2021

How to Troubleshoot Permission Issues with SFTP

 

  • Change the owner of the folder or file to bitnami (remember to replace the TARGETFOLDER placeholder with the proper path):

    sudo chown bitnami TARGETFOLDER
    sudo chmod +w TARGETFOLDER
    
  • You should now be able to upload files to the folder or replace the file. When you are finished, restore the original permissions. For the case above, the commands are as follows:

    sudo chown daemon:daemon TARGETFOLDER
    sudo chmod 0775 TARGETFOLDER


https://docs.bitnami.com/virtual-machine/how-to/troubleshoot-permission-issues/

No comments:

Post a Comment