• 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

httpdocs lost permissions

U

unsichtbarre

Guest
the httpdocs folder in most of my domains (30 out of 40) lost its permissions last night. That is to say, they went from 777 or 755 to ---, notheing at all, at the command line it looked like this:

d--------- 23 lionjohn psaserv 4096 Jul 12 18:04 httpdocs

what could cause this to happen. I temporarily fixed it with:
chmod -R */httpdocs 755
but that only gets my pages back online, anyone know why this happened or how I can fix it?

-John
 
Was the file mod time the same for all the files? Did you look in the logs or bash history to see if you could figure out who might have changed them? Is anything else changed on the box? That is very odd to say the least.
 
All happened at about the same time. No significant entries in the logs to lead me to any conclusions. Hasn't happened since.
 
Never heard of that happening. Hope it was a one time fluke sort of thing.
 
maybe you set expiration time for domain in plesk and it expired, so that disabled automatically and permissions are set such way? or client account was disabled...

try to check this, i'm too lazy at the moment to check it on my plesks :) i just remember that similar happens with mail accounts - if you remove option 'mailbox' for mail account, then permissions of mail folder qmail/mailnames/domain.tld/mailuser are switched to 000
 
Back
Top