Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th June 2008, 16:54
blocker blocker is offline
Senior Member
 
Join Date: Mar 2008
Posts: 178
Thanks: 9
Thanked 4 Times in 4 Posts
Default HELP!!! Wrong permissions

Hi all,

suddenly ALL permissions are wrong on 1 of my servers. The folders and subfolders in /var/www are owned by group 10590, which does not exist in /etc/group.
If i delete and then restore a site everything gets fixed, but i have more than 500 sites on the server. How does it come to such a problem?!

Please help asap
Thanks!!!
Reply With Quote
Sponsored Links
  #2  
Old 27th June 2008, 17:05
blocker blocker is offline
Senior Member
 
Join Date: Mar 2008
Posts: 178
Thanks: 9
Thanked 4 Times in 4 Posts
Default

Please help ASAP, my a** is burning , how do i get the right permissions at once, as i said above, deleting and restoring site does do the job... The next question will be whys that happening, but first i need to fix that permission crap...
Reply With Quote
  #3  
Old 27th June 2008, 17:50
Snowman Snowman is offline
Senior Member
 
Join Date: Apr 2007
Posts: 120
Thanks: 38
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by blocker View Post
Please help ASAP, my a** is burning , how do i get the right permissions at once, as i said above, deleting and restoring site does do the job... The next question will be whys that happening, but first i need to fix that permission crap...
PASTE some examples.. it will help to find solution as soon as it is possible
Reply With Quote
  #4  
Old 27th June 2008, 18:10
blocker blocker is offline
Senior Member
 
Join Date: Mar 2008
Posts: 178
Thanks: 9
Thanked 4 Times in 4 Posts
Default

what kind of examples

ALL the folders and subfolders in /var/www are owned by www-data:10590, and 10590 does not exist as ID or group name in /etc/group...

no idea hows that happened, yesterday everything was OK - up and running w/o any problems ....
Reply With Quote
  #5  
Old 27th June 2008, 19:30
Snowman Snowman is offline
Senior Member
 
Join Date: Apr 2007
Posts: 120
Thanks: 38
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by blocker View Post
what kind of examples
/etc/group

www-data:10590 is :LOL:
as i know if you have webs in /var/www (i.e.)
webs are numbered like : /var/www/web44/web/[content of webpage]

permissons must be
server:/var/www# ls -la | grep web44
drwxr-xr-x 9 domain_admin web44 4096 2008-06-12 22:13 web44
lrwxrwxrwx 1 www-data web44 22 2008-05-30 12:04 www.domain.com -> /var/www/web44

so www.domain.com is 777 because its symlink to /var/www/web44 and web44 is folder with 755 and its owned by domain admin and domain group so if you have web44 it should be "chown domain_admin.web44".
(symlinks are owned by www-data)

Are there any records of web[number] in /etc/group ? (i.e. web44:x:10044:admispconfig,domain.com_admin)
Reply With Quote
  #6  
Old 27th June 2008, 20:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,036
Thanks: 841
Thanked 5,655 Times in 4,464 Posts
Default

Please run the following SQL statements in the ispconfig database:

update isp_isp_web set status = 'u' where status = '';
update isp_isp_user set status = 'u' where status = '';

Then change a setting in one of the sites in ispconfig and click on save.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pureftpd Permissions Problem GaulHahn Server Operation 6 17th October 2008 14:54
suPHP, Joomla! 1.5, file & diretory permissions pjdevries Installation/Configuration 17 19th June 2008 03:58
Logcheck Permissions Problems Drek Server Operation 1 7th September 2007 16:43
Installation Troubles bswinnerton Installation/Configuration 4 29th July 2007 17:56
permissions problem with sub folders of network drives tommo Server Operation 0 20th June 2007 16:50


All times are GMT +2. The time now is 02:54.


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