permissions problem on the /var/www/webXX folders
I just commited a big mistake: I was trying to get a plugin for a thirdparty app running which needed certain permissions on the /var/www/web1 folder.
what I did without thinking was this: chown -R web1_postmaster:www-data /var/www/web1 and chmod -R 755 /var/www/web1
now I realized that my permissions are totally borked, my 2 users inside this site cannot read their emails etc.
how can I undo this mess as fast as possible?
p.s. I have a backup from this morning done with ftplicity, so I tried ftplicity fetch var/www/web1 /var/www 1D but it just tells me it cannot overwrite. I tried fetch var/www/web1 /var/www/bckp 1D and then copied all folders and files over with the result, that the main user can login and read mails while the other user cannot even login, he gets this error: ERROR: Connection dropped by IMAP server
any clues, please:o
basically I chowned user:group the user directories (including the subdirectories) and mail is working now.
anything else that could need fixing?
If you have a second web site with users, I'd compare permissions and ownerships of the first web with the second one.
|All times are GMT +2. The time now is 03:53.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.