VSFTPD – still having permission issues

I'm running a Linux Ubuntu 16.04 TLS server and I have a game server installed there. In order to install plugins and manage all my server configuration files, I had to choose for a FTP server, on this case, VSFTP.

The issue is, however, I'm able to create new files and delete existing ones. But I cannot perform these actions/have these issues:

  • Deleting files only works sometimes. Most times deletion operations fail and I'm forced to use SFTP to delete them, or SSH with the rm command.
  • I can't delete recursively files and subfolders from a main folder, sometimes after trying to delete them they become hidden files and I'm forced to use SSH to remove them with rm -rf
  • When I upload files and folders, they copy recursively, however, with the wrong permissions, such as 266, making me unable to edit and see the recursive files and folders unless I use my root SFTP.

How can I fix these issues? I'm almost newbie to this.

Here's my VSFTP configuration file (/etc/vsftpd.conf)

0
задан 25 September 2017 в 03:47
1 ответ

похоже, что вы используете как пользователь без корневого доступа, попробуйте войти в систему как root и посмотрите, изменится ли это что-нибудь, если да, то вы необходимо предоставить пользователю root-доступ, чтобы вы могли удалять и редактировать файлы.еще одна вещь, на которую следует обратить внимание, это то, что в вашем файле конфигурации открыт ipv6, иногда это может вызвать проблемы, если не настроено правильно.

Надеюсь, это поможет

0
ответ дан 5 December 2019 в 07:26

Теги

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