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

Martin Kelly aomighty at gmail.com
Tue Aug 29 13:43:05 PDT 2006


Alright, good to know; thanks. I will use : then.

Bob Miller wrote:
> 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 ...
> 


More information about the EUGLUG mailing list