• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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