Re: messed-up File Permissions



On Sun, Aug 17, 2008 at 09:46:53PM -0500, Martin McCormick wrote:
I accidentally made all the files on my system owned by
me and am trying to get them back to where they should be.
I did this about 2-3 weeks ago, although all to root (damned cold).

it was only a test machine, just going to build a new one machine
(virtual or real) and copy over the permission

a

Is there any utility that at least gets all the system
files back to proper ownership?

Most everything was owned by root and changing
everything back to that except for user files was easy but the
one thing that doesn't work from a user account is su -

Originally, auth.log reported that unix_ckpwd wasn't
happy and I got that application set back to its correct
permission, but pam_unix still complains. The libraries are set
right, but somewhere is a file with the wrong ownership and no
clue as to what it is.

The /etc/passwd and /etc/shadow files are right.

Is there either a utility that will complain or fix the
permissions?

Surely I am not the first person to do something stupid
like this.

su does work from root to a user ID but not in reverse.

Somewhat embarrassed,

Martin McCormick WB5AGZ Stillwater, OK
Systems Engineer
OSU Information Technology Department Telecommunications Services Group


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



--
"I've been talking to Vicente Fox, the new president of Mexico... I know him... to have gas and oil sent to U.S. so we'll not depend on foreign oil..."

- George W. Bush
10/03/2000
From the first Presidential debate

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Eth0 shutdown "error"
    ... I just got the cloning done on a my test machine but now when I shut ... the machine down I get a error when eth0 shuts down. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)
  • Re: Sata drives with nforce3 chip set on Motherboard
    ... On Tuesday 15 March 2005 10:41 pm, Billy Tallis wrote: ... I can use this as a test machine for a while. ... start the dl on FC4. ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
    (Fedora)