�David Walluck� sagte am 2002-02-13 um 23:27:04 -0500 :
> It is the latest as of today. Question now is, if I change the gid back 
> to something reasonable, is the best way to use "find" and then replace 
> all files owned by the old gid by the new one? Any suggestions on fixing 
> the file permissions?

old_gid="65555" # whatever
new_gid="503"
old_uid="65555"
new_uid="503"

find / -uid $old_uid -o -gid $old_gid | \
        xargs chown ${new_uid}:${new_gid}

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:       http://www.iso-top.de      |     Jabber: [EMAIL PROTECTED]
   iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen
                       Uptime: 23 hours 16 minutes

Reply via email to