Help - Search - Members - Calendar
Full Version: Permissions problem between FTP and Apache/PHP
The Planet Forums > Control Panels > Plesk
lpirlet.net
Hi-

I just got a plesk server and moved all my ensim clients to this new server. Since I pretty much just copied the files, all the permissions were set to root:root for the user/group. When I created the websites, I saw the files inside (the temporary index page) was set to username:psacln. So I chowned all the files to their respective user/group.

Here is the problem. I have a client who setup PHP-BB2 using the Ensim PowerTools. When you try to view the forum it gives permissions errors saying that it cannot include config.php. In reading some help docs at sw-soft.com it says that you need to have the user/group set to what apache uses. On my server, apache runs as apache:apache. As soon as I chowend the httpdocs to apache:apache, the forum started working... everything appears to be great. HOWEVER, now because the user is not the owner of the files, they have read-only access using FTP or filemanager. They cannot edit/delete any files. As soon as I change permissions back to username:psacln, everything works for FTP/Filemanager.

So I almost need to have both permissions at the same time. Is there something I am doing wrong or any advice on things to try.

Thanks.
nexe
chown it to "user".apache the username needs to be what the client uses to connect to his domains ftp and chmod the directory to 775 owner full access and group full access
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.