On Tue, Sep 18, 2001 at 09:55:40PM +1000, eurk-dsl uttered:
> I have a site where they use fred.dagg as usernames which stuffs chown
> as it thinks fred(user) dagg(group).
>
Ugh!
> Any brilliant ideas? Obviously I can use the user number (terminology?)
> each time but I thought there might be another way..
>
The user number is called 'UID', and yes, you can use that with chown.
steven@broken:~$ touch lala; sudo chown 0 lala
steven@broken:~$ ls -l lala
-rw-r--r-- 1 root users 0 Sep 19 00:08 lala
(You can see your uid with the 'id' command)
> TIA
>
> Stuart
>
>
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
>
--
Steve
Portable, adj.:
Survives system reboot.
PGP signature