HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Technical (http://www.howtoforge.com/forums/forumdisplay.php?f=8)
-   -   cannot chmod (change owner of folder) ? (http://www.howtoforge.com/forums/showthread.php?t=967)

Ovidiu 23rd October 2005 02:40

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...

falko 23rd October 2005 13:07

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).

Ovidiu 23rd October 2005 17:33

that did the magic trick - thx a lot


All times are GMT +2. The time now is 00:28.

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