Problem :
I have an sftp server with a directory located into
/share/data
This directory belongs to the root
user so I’ve granted all permission to the dir:
chmod -R 777 /share
But if I try to create a new directory inside /share/data/mynewdir
via SFTP client with a different user the SFTP server reply SSH_FX_PERMISSION_DENIED
Any suggestion?
Thanks
Solution :
Maybe change the owner of the /newdir folder by doing a chown -R user:group
/share/data/newdir
chown –help
chmod –help