[sllug-members]: change ownership

Erick Cantwell ecantwell at bluehost.com
Wed Mar 24 17:23:08 MST 2010


On 03/24/2010 05:15 PM, jfriend31 at comcast.net wrote:
> Gentlemen:
>
> i have created a directory "jacks" in /mnt which is the name for the new HDD with the help of "gksu Nautilus."
>
> the ls -l report for that directory is
>
> drw-rw-rw- 3 jack root 4096 2010-03-22 19:49 jacks
>
> please tell me how to change the ownership from "jack root" to "jack jack"
>
> i have tried every form of "chown" and "chmod" i can find with no success.
>
> nor can i copy a file to "jacks" without invoking root privileges.
>
> thank you.
>
> jack
> ______________________________________________________________________
> See http://www.sllug.org/ for latest SLLUG news, information, links.
> Join SLLUG and other UT LUG members on irc.FreeNode.net channel #Utah
> sllug-members at sllug.org
> http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members
>    
When you say "i have tried every form of "chown" i can find with no 
success" I'm afraid that I can't believe you.  These are the specific 
examples given in the actual man page for chown, and they seem fairly 
precise.

EXAMPLES
        chown root /u
               Change the owner of /u to "root".

        chown root:staff /u
               Likewise, but also change its group to "staff".

        chown -hR root /u
               Change the owner of /u and subfiles to "root".

--Erick Cantwell


More information about the sllug-members mailing list