Richard Neal wrote:
>oops quick note before you login as your old user after the update do
>the following after you have removed all the .filenames
>
>cd /home
>chown -R user_name  user_name/    # were user_name is "your" user name
>accounts name.
>
>this should fix any permissions problems if the UID numbers change.

Just a quick script I wrote then, untested completely.
http://mist.dropbear.id.au/src/fixown.sh

So to get that cranking do the following:
        wget http://mist.dropbear.id.au/src/fixown.sh
        chmod +x fixown.sh
        su -c ./fixown.sh

It's written to work with bash, and changes all the ownerships of the
folders. If the user of the folder does not exist, it will start
spitting out error messages ;-)

If anyone sees an error, please tell me.

And Richard, could you please explain what the big 'C' like ASCII art in
your sig is supposed to be? ;-)

 - Chris
[EMAIL PROTECTED]

Attachment: pgp00000.pgp
Description: PGP signature

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to