On Wed, Jan 20, 2010 at 12:41 AM, Nitesh Mistry <mistrynit...@gmail.com> wrote:
> On Wed, Jan 20, 2010 at 12:33 AM, Mehdi <akri...@gmail.com> wrote:
>>
>> Dear Friends
>>
>> I have read many article about the Permission but how i should use those
>> code in the terminial?
>>
>> for example:
>> if i want give the full permission to the var/www  what i should i do?
>> chown ??!!!!
>>
>> and also when i want get the all permission??
As a good security measure, make sure that you don't give ALL (say
777) permissions to files unless absolutely necessary. This is a bad
idea especially for files that are hosted on a web server. It would be
good to read through the document provided by Nitesh and understand
how file permissions work.
>
> chown is to change the owner
> chmod is to change the permissions
>
> chapter 3 of the following link has a very good intro to the topic
> http://www.tldp.org/LDP/intro-linux/html/index.html
>
>
> --
> Nitesh
> http://techformyself.blogspot.com
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GB/J/IT/O>TW d+(-) s+:+>: a- C+ UL>+++ P? L++>+++ E? W++ N? o? K? w--- O?
> M-- V? PS+() PE(++)(-) Y+ PGP+ t 5? X- R tv+ b+ DI D G e+++>++++ h-- !r y?
> ------END GEEK CODE BLOCK------
>
> --
> ubuntu-in mailing list
> ubuntu-in@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>



-- 
Sent using the magic of the interwebs.
http://ritesh.posterous.com

-- 
ubuntu-in mailing list
ubuntu-in@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to