HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   permissions problem on the /var/www/webXX folders (http://www.howtoforge.com/forums/showthread.php?t=6051)

Ovidiu 7th August 2006 13:33

permissions problem on the /var/www/webXX folders
 
hi there,

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

###edit###
basically I chowned user:group the user directories (including the subdirectories) and mail is working now.
anything else that could need fixing?

falko 8th August 2006 18:46

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 08:48.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.