Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd October 2005, 02:40
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default cannot chown (change owner of folder) ?

###edit###
I just noticed a typo in the post title: it should say: chown instead of chmod

I did a ls -al inside my /var/www and this is part of the result:

Quote:
drwxr-xr-x 9 web12_postmaster web12 4096 2005-10-17 02:33 web12
drwxr-xr-x 9 spamd web14 4096 2005-10-23 02:27 web14
drwxr-xr-x 10 web6_postmaster web6 4096 2005-10-20 00:53 web6
drwxr-xr-x 12 web7_test web7 4096 2005-10-22 11:05 web7
I tried a
Quote:
chown -R web14_postmaster:web14 web14/
which is the default settign as it should be. The comand is executed but there is no change. Still the same settings like above. I am logged in as a user and then did a sudo su to get root powers...

can anyone suggest how to get rid of this problem?

btw. spamd is a user I made for a local version of spamassassin running for another task, but I am sure I never gave that user rights to this folder...

###edit###
I found a log entry that seems connected to this:

Quote:
Oct 23 10:12:23 h5810 postfix/local[3912]: warning: maildir access problem for UID/GID=10026/10014: create /var/www/web14/user/web14_a1/Maildir/tmp/1130055143.P3912.hxxxx.serverkompetenz.net: Permission denied
very strange - one of the accounts below the falsely spamd-owned folder can access mail (he is the admin of the site) but another user here you can see web14_a1 cannot...
Any ideas? I'd like to solve this in an elegant matter not just by deleting the domain from ispconfig and from cache and then recreating...

Last edited by Ovidiu; 23rd October 2005 at 11:09.
Reply With Quote
Sponsored Links
  #2  
Old 23rd October 2005, 13:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Can you have a look at /etc/passwd and check if web14_postmaster and spamd have the same user id? If so, you should change spamd's user id to a value that's not in use and not in the range of ids used by ISPConfig (by default, user ids in ISPConfig start at 10000).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd October 2005, 17:33
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,259
Thanks: 76
Thanked 23 Times in 19 Posts
Default

that did the magic trick - thx a lot
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
Change site's owner (customer) Hellbound General 17 27th February 2008 08:04
Change keymap under Debian fernando Technical 3 15th June 2006 16:28
how to change server name lexcomputer Installation/Configuration 1 12th October 2005 10:01


All times are GMT +2. The time now is 04:03.


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