Hey there So, the problem is that I can't make changes to the web folder of my website's root folder, even after changing the owner of the folder to the user and group of the client (both user and ftp user created in ispconfig). I get the following error: 550 Could not delete index.html: Permission denied Any ideas on what to troubleshoot or how to resolve this would be much appreciated.
Oh, sorry for the confusion, i thought the website root folder was web<n>/ folder. Yeah, i meant the web<n>/web/ folder. Also happens for every other client i have registered when it didn't behave this way before.
which user owns the web<n>/web/index.html file that you are trying to delete? Do the webN user and clientN group of that file match the user and group of the website (see options tab of the site) and the web user and group of the FTP user (see advanced or options tab of the FTP user).
The user and group for the webN folder is web22:client20, had to change it to this because ispconfig created them as root:root. ISPConfig panel is down due to my server refusing http/https connections, for some reason, will report back when I resolve that.
The webn folder must be owned by root, so please change that back to user and group 'root'. I asked for the owner of the web folder.
Ok. Then compare it with the user shown on the options tab of the website and the options or advanced tab of the ftp user. Regarding your problem to access the server: use the test script: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/
User and group match the fields found in the Options tab of site and FTP user. I'm able to upload, delete, and rename files if I run chattr -i -R on the directory, but not when I change the attribute back with chattr +i -R.