Ubuntu server and ubuntu with netbeans переизречение connection: upload permission denied

I have в project on в переизречение server (ubuntu server 15.04). I хан download my поля from /var/www/html with не problem. But I can't change and reupload them. I get permission denied when renaming в dir or file, upload в new file or deleting an existing file.

I make my connection with SFTP and I start конечный Netbeans from the with sudo. I also checked Предохранил переизречение Филе Пермиссионс in the Run configuration.

Схвати в last resort I have installed vsftpd on the Веб server and followed steps to add в user. Again, connecting with the user credentials and downloading works умер but uploading doesn't at all.

My goal is to connect схвати в user with enough permissions to change or upload new поля and directories but предохраните the orginal permissions on the server.

Хан anybody shed some light on my problem?

thanks Томас

EDIT:

Maybe some обитал (useful?) information: the поля and directories пашите owned by the user root from the group root. The CMS is Drupal 8.0.1

1
задан 5 January 2016 в 23:37

1 ответ

большое спасибо. Это поражает меня, что я не думал об этом прежде. Я изменил владельца и группу проекта на веб-сервере к тому, который я имею на своем локальном диске для того проекта. sudo chown -R username:group directory. Обработанный как очарование.Спасибо!

0
ответ дан 26 July 2019 в 10:13

Другие вопросы по тегам:

Похожие вопросы: