[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] screwed up file ownership and permissions
- Subject: [cobalt-developers] screwed up file ownership and permissions
- From: Rob Montgomery <Rob@xxxxxxxxxxxxx>
- Date: Thu Apr 5 02:04:18 2001
- Organization: MaxInvest.com
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
My client uses a RAQ4, and while trying to fix ownership of some files on his
machine,
he did a chown -R as root and royally screwed up the machine. I've managed to
fix the
ownership for most things, so the server in general is at least working fine,
but there
are still some weird things going on.
1. I cannot su to root when initially logged in as another user, I get this
error:
su: cannot set groups: Operation not permitted
2. Users cannot login to their virtualhost admin sites. I can log into the
main server admin
but, going to a virtual host's admin always gets the username/password
rejected,
even though I know its correct. I can ssh in successfully with those
username/passwords,
I just cant access the admin web-interface. Even when creating a new admin
the same
problem exists.
Everything in /etc/ is pretty much owned by root.root, so, I'm not sure what
would be
causing the su problem. Any ideas?
The admin sites problem might be related to the su problem, or it might just be
a permission problem for the password file that the webserver reads, wherever
that is. I cant seem to find any htaccess style password files though the known
site admin usernames, just the /etc/passwd file, which I'm not sure how they
could be using that though with an htaccess style user/pass authentication.
So, I'm assuming there's a ownership/permission problem somewhere still.
Can someone do a `find . -ls` on a couple directories and send me the output
so I can see what the ownership/perms should be? I'm thinking the /usr/admserv
directory might help and also a /home/sites/siteXX directory ? Delete any
files that are sensitive, webpages, etc... I just want to see the standard
config
files for the cobalt setup... Any other directories that might contain files
that
the web-interface will need to read/write to?
I'll take any ideas you have! Thanks.
Rob