• 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.

Write access permissions

C

Claxon

Guest
Hey everyone I'm wondering if anyone can give me any help with a little permissions problem i've been having.

The basic story is this I have a website that uses php extensivly (www.mywebsite.net). While I'm developing new code I test it in a subdomain of that site (dev.mywebsite.net). One of the latest things I've made is a script that creates images and writes them to the img/map/ directory.

When setting it up on the dev subdomain, all I did was ftp to the subdomain, upload my script, create the img/map/ directory and then chmod it to 0777 (a nice easy 2 minute job). All was well... the images were written perfectly.

Then came time to move the changes to the primary site, so I repeted the above steps... uploaded script, created directory and chmod 0777, but this time the images are not written. The script is constantly being denied write access to any files in that directory, but I can't for the life of me, figure out why. If I look in the Plesk file manager at the directory it states the permissions as "rwx rwx rwx".

I'm lead to thinking it's something to related to the way plesk set up the sub-domain, some difference from the actual domain, but don't know where to go looking or really what to look for.

Any help would be much appreciated!
 
Back
Top