Hello 


I just hosed one of my boxes by recursively setting all my file
permissions incorrectly:
        
        $ su
        $ cd /data
        $ chown -R andrew:wheel *
        $ chown -R andrew:wheel .*


For some reason the last command was interpreted as:
$ chown -R andrew:wheel /* 
        
I just cvsuped to 4.7 a few days ago, still running 4.7-RELEASE GENERIC
kernel.

Why does the behaviour of chown change when u r root?

Surely this is a bug?

And what the hell is this crap in the man page about -R:

        -R  Change the user ID and/or the group ID for the file
        hierarchies rooted in the files instead of just the files
        themselves.

As always, any assistance is appreciated!

Cheers,


-- 
Andrew Cutler <[EMAIL PROTECTED]>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to