[KLUG Members] setting user id

Adam Williams members@kalamazoolinux.org
Tue, 14 Oct 2003 16:36:40 -0400 (EDT)


>>Hey, you can use a colon as well as a period?  Well, you learn something 
>>every day.
>Yeah. I think the period is an AIX construct. 

Nope,

"Syntax
 chown [ -f ] [ -h ] [ -R ] Owner [ :Group ] { File ... | Directory ... }"

from "man chown" on AIX 5L.


>NAME
>       chown - change file owner and group
>SYNOPSIS
>       chown [OPTION]... OWNER[:[GROUP]] FILE...
>       chown [OPTION]... :GROUP FILE...
>       chown [OPTION]... --reference=RFILE FILE...
>DESCRIPTION
>       This manual page documents the GNU version of chown.  ...
>I think  : is also supported by Solaris chown.

Ah, look what it says if I "info chown"

"You may use `.' in place of the `:' separator.  This is a GNU
extension for compatibility with older scripts.  New scripts should
avoid the use of `.' because GNU `chown' may fail if OWNER contains `.'
characters."

So I must have picked up the `.' thing back during my first UNIX OS class 
which was taught using a really old SCO box.  The next semester all the 
UNIX classes were bieng taught on LINUX.  I'll reprimand myself for using 
`.' from now on.

>Wait for chown - The Defintive Reference, coming from Oh Really? Books...

setfacl needs a book, it is just confusing.  Then add chacl into the mix 
and this is going to get crazy.