[Eug-lug] Correct Apache User and Group for easy editing

Bob Miller kbob at jogger-egg.com
Tue Aug 29 12:52:02 PDT 2006


Martin Kelly wrote:

> Secondly, in:
> chown kedwardk.kedwardk ed
> Is there a difference between . and : in that? Would this have been 
> equivalent?
> chown kedwardk:kedwardk ed

Dot is deprecated by POSIX.  But chown still supports dot as well as
colon.  Here's an excerpt from the chown info page.

       Some older scripts may still use `.' in place of the `:'
    separator.  POSIX 1003.1-2001 (*note Standards conformance::) does
    not require support for that, but for backward compatibility GNU
    `chown' supports `.' so long as no ambiguity results.  New scripts
    should avoid the use of `.' because it is not portable, and
    because it has undesirable results if the entire OWNER`.'GROUP
    happens to identify a user whose name contains `.'.

Similarly, in the ssh port-forwarding arguments

	ssh -L 80:localhost:80 ...

colon is deprecated in favor of slash.  Colon is a component
of IPv6 addresses.

	ssh -L 80/::1/80 ...

-- 
Bob Miller                              K<bob>
                                        kbob at jogger-egg.com


More information about the EUGLUG mailing list