Permission problems with ftp

Author Message

Knut Arne Langseth

Friday 19 May 2006 5:59:19 am

Hi

I realize this is as much a Linux/Unix problem as it is Ez, but I'm quite positive that someome must have encountered this problem, and I hope there is a workaround.

Running Ez on Debian 3.1/Linux, the apache server run as user nobody:nogroup.
The website itself has a user : myuser:mygroup

When we try to upload template files, or ini files using FTP, we get permission denied. As far as I can find out this is because the owner of these files is the apache user "nouser".
And that the ftp server denies this user to upload files. So even having "myuser" be member of "nogroup" does not help. I'm not 100% sure this is why, but its my best guess. Since all files and directories in design and settings have permissions rwxrwxrwx. (or 777).

Now I could do chown myuser:mygroup on these files and directories, and then do chmod 777. But in tests the files change permission if the admin user interface inside EZ publish is used just once.

I want to solve this problem and forget about it, preferably :)

Does anyone have a solution/workaround for this ?

Best regards
Knut

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.