• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Apache, PHP and permissions

I

itschemnitz

Guest
Hello,

trying my best for writing in english once again :)
I'm using Plesk 8 with SuSE 10 on a root server from STRATO. I've created some clients, domains and so on. All files in the domain directories have the permissions 755 like the examples from Plesk and I've chowned them to username:psacln like Plesk chowns them when files are uploaded through ftp.
The php-scripts I'm using work fine when they have to read stuff from a file (I've scripted a file-based forum). But on creation of new files, the php script crashes with a permission failure. When I make chmod 777 on all files and directories, it works - what a wonder, huh :)
Apache runs under wwwrun:www. Is this a plesk standard? I cannot find any group "www" in Yast!?
Has anyone a solution for the permission problem? Should I use suphp? And why are the example files (in new created vhosts) chowned with root:psacln? I think there shouldn't be any security problem, because of the base_dir_restriction...I'm confused...

Many questions, but please take time to answer as most as possible.

Thanks, Nico
 
Ok, after making a chown wwwrun:www on all files, creation of files is possible
 
Back
Top