• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Unable to get hardquota state: usermng: Unable to remove dir test: Permission denied

Raakh5

Basic Pleskian
Hello,

My Plesk version is 9.2.1 and OS=RHE

I have previously deleted one domain in plesk but found from root that directory still exists in /var/www/vhosts/domainName/

I tried a lot to delete directory manually but (cgi-bin/test) these two directories not deleted. I tried to add the domain again via Plesk and got the following message:

ERROR: PleskFatalException
Unable to get hardquota state: usermng: Unable to remove dir test: Permission denied

System error 13: Permission denied

0: class.PHostingManager.php:1484
PHostingForm->assign(object of type PHostingManager, boolean true, boolean true, boolean true, boolean true, boolean true, boolean true)
1: client.domain.hosting.setup.php:322
plesk__client__domain__hosting__setup->accessItem(string 'POST', NULL null)
2: UIPointer.php:596
UIPointer->access(string 'POST')
3: plesk.php:38

What I did is:
[root@myServer cgi-bin]# chown -R 777 test
[root@myServer cgi-bin]# ls
test
[root@myServer cgi-bin]# ls -ld test
drwxrwxrwx 2 777 root 4096 Mar 23 10:45 test
[root@myServer cgi-bin]# rmdir test
rmdir: test: Permission denied
[root@myServer cgi-bin]# rm -rf test
rm: cannot remove directory `test': Permission denied
[root@myServer cgi-bin]# /bin/rm -rf test
/bin/rm: cannot remove directory `test': Permission denied
[root@myServer cgi-bin]#

Domain name is created but when I tried again to configure web hosting then got the following result:
ERROR: PleskFatalException
Unable to get hardquota state: usermng: Unable to remove dir test: Permission denied
System error 13: Permission denied

0: class.PHostingManager.php:1484
PHostingForm->assign(object of type PHostingManager, boolean true, boolean true, boolean true, boolean true, boolean true, boolean true)
1: phosting_setup.php:303

Please advise

Thanks in anticipation
 
Last edited:
Back
Top