• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

php rename (.): Access is denied. (code: 5) set access permissions on folder

samuel491

New Pleskian
SO Windows Server 2008, IIS/7.5 Webserver, PHP Version 3.5.25,
Admin Panel: Parallels Plesk Panel 11.0

.php files with php rename() function generates the following error
PHP Warning: rename (.): Access is denied. (code: 5)

May be due to lack of permissions for the folders that contain the files to rename?

Im tring to grant permissions but I cant modify anything ...

I login to Parallel with a Owner user with all privileges
Click File Manager
On the directory to set access permissions, click padlock icon
any attempt to change the permissions is denied


there are the following groups:

Administrators
SYSTEM
Plesk Domain User (domainname)
Plesk IIS Anonymous Account (IUSR_domainname)
Plesk IIS Worker Process Identity Account (IWPD_6 (domainname))
Hostname support (support)

for each group you can Allow/Deny privileges:
[]Full Control
[]Modify
[]Read & Execute
[]List Folder Contents
[]Read
[]Write

Groups: Administrators, SYSTEM got all privileges

IUSR_domainname has only one privilege: [v]List Folder Contents

IUSR_domainname should be my target, the public user who launches a request from the browser, is it rigth?

any attempt to change the permissions are denied
inheritance permissions options are denied too

Thank you for help
 
Last edited:
Back
Top