[ProFTPD] Permission denied folders above public_html

3 posts / 0 new
Last post
#1 Mon, 04/25/2016 - 08:46
rnd

[ProFTPD] Permission denied folders above public_html

Hello,

When I use the root account I can create/upload files and folders without issues. But when I use the main account of the virtual server/site I receive a permission denied everywhere but the public_html.

An example: Creating a file or folder works when I am in the public_html folder. When I move into a folder, let's say /public_html/forum, I cannot do anything but browse it's content.

I cannot find settings/permissions I can change to make it work.

Any help is appreciated. Thanks.

Mon, 04/25/2016 - 08:51
andreychek

Howdy,

Well, let's start here -- what is the owner of that directory?

If you had at some point created that directory as root, all other users would not be able to do anything with it... that would limit you to using root to create files.

My suggestion is to always use the Virtual Server owner for managing files and folders within your domain.

What you may want to try is to go into Limits and Validation -> Validate Virtual Servers -> Fix Permissions, and there have it correct the permissions for the domain in question.

After doing that, are you then able to upload files to the directory you're currently having problems with?

-Eric

Mon, 04/25/2016 - 09:13
rnd

Hi Eric,

Thank you very much. This solved the issue. I was looking for that option but could not find it. Thanks again!