[Eug-lug] Correct Apache User and Group for easy editing
Martin Kelly
aomighty at gmail.com
Tue Aug 29 11:37:45 PDT 2006
Alright... . is a lot easier to type than :, so thanks.
Yep, I'm working on regular expressions... I can write simple ones at
the moment. Do you know of a place that has exercises to test knowledge,
because I think the best way to learn would be to practice and actually
do it.
Allen Brown wrote:
> Martin Kelly wrote:
>> This looks like what I've been looking for. Your example includes
>> several things I've never seen before though. Could you explain those
>> portions in more detail?
>>
>> Specifically, I've never seen the -F switch to ls. Secondly, in:
>> chown kedwardk.kedwardk ed
>> Is there a difference between . and : in that? Would this have been
>> equivalent?
>> chown kedwardk:kedwardk ed
>
> I think they are equivalent. I have a habit of using ".", perhaps
> dating to my days with HPUX and ksh.
>
>> In the chmod, you did 2777... what does the 2 do that 777 doesn't?
>> Then, in the drwxrwsrwx, what does the s mean?
>
> The 2 is the set guid bit for the directory. It is what does the
> magic. 777 is very open. I didn't test whether I could close
> down that hole. I suggest you experiment to see how much openness
> is still neede.
>
>> I suppose my shell skills need a little working.
>>
>> Thanks :).
>
> Bash is a powerful language. With all the commands at
> its disposal it becomes very powerful. But if there is one
> thing I would recommend that everyone learn, it is regular
> expressions. The grep man page is a good place to start.
More information about the EUGLUG
mailing list