Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
CentOS SFTP Access Permissions
I think I am having some sort of permissions issues and I am not sure.
Just created my first droplet ever and the steps below are what I have done so far.
Configured SSH Keypair/Access
Created user and added to sudoers
Disabled root logins
Configured firewall to allow http, https, and ssh access
Installed LEMP stack
(Tried to configure Lets Encrypt, but failed. That is another problem for later)
The LEMP stack is functioning correctly and I have access to everything, but when I connect via SFTP using WinSCP I am unable to delete the default index.html file for nginx. Nor am I able to upload any new documents. (I am not using root, I am using the new profile I created and added to sudoers)
I think this may be a permissions issues, but I am not sure?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×