Background (please complete the following information):
Describe the bug
Sometimes, when uploading a file through the SFTP server, file permissions aren't set, causing issues for the software running within the containers. Looking into the sftp server logs, there are issues with trying to chown files.
Here is a log file of the SFTP server. https://file.properties/paste/vuvivecufo
To Reproduce
Steps to reproduce the behaviour:
-- I am not 100% sure on how to replicate it. The issue only sometimes occurred from general usage. --
Expected behaviour
File permissions to be set so that containers are able to use the files.
When the server is started its suppose to make sure file permissions are correct , is it not? If it's suppose to, then that function is clearly failing as well
File permissions are lacking permissions -rw-r--r- (644) and just get set as --------- upon file edit or upload.
I have same issue with file permission
If you are having issues with the new sftp system keep using the old one until it is fixed.
I have same issue only with uploading folders, which get owned by root.
If you are going to report an issue with the new SFTP server, _please_, PLEASE, include enough details for someone to reproduce it. Telling me something isn't working isn't going to make it magically get fixed if no one provides information on how to reproduce it.
What OS are you running on, what SFTP client are you using, what is the build number of said client, what EXACTLY are you attempting to do, and what EXACTLY is it doing that is unexpected.
Thanks.
This is resolved with
https://github.com/pterodactyl/sftp-server/releases/tag/v1.0.2
Most helpful comment
I have same issue with file permission