Panel: SFTP server fails to set permissions

Created on 11 Nov 2018  路  7Comments  路  Source: pterodactyl/panel

Background (please complete the following information):

  • Panel or Daemon: SFTP Server
  • Version of Panel/Daemon: v1.0.1
  • Server's OS: Ubuntu 18.04
  • Your Computer's OS & Browser: Windows 10 & Google Chrome

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.

Most helpful comment

I have same issue with file permission

All 7 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stijnb1234 picture stijnb1234  路  3Comments

TylerBurr picture TylerBurr  路  4Comments

parkervcp picture parkervcp  路  3Comments

Doc94 picture Doc94  路  4Comments

ghost picture ghost  路  4Comments