change permitions in user home
John K Masters
johnmasters at me.com
Mon Aug 11 17:32:10 UTC 2008
On 13:14 Mon 11 Aug , Doug Pollard wrote:
> Raphael Yves Sabbat wrote:
> >
> >
> > On Mon, Aug 11, 2008 at 12:37 PM, Doug Pollard <dougpol1 at verizon.net
> > <mailto:dougpol1 at verizon.net>> wrote:
> >
> > I need to change permissions on some of my user files. I have the
> > command but i need to know how to apply it to an individual file.
> >
> > You can do it in the terminal, the command would look like this:
> > sudo chmod 755 /path/of/your/file.extension
> >
> > Assuming 755 is what you want
> >
> Does the arbitrary number 755 that you used represent a file number?
> How do I find this number. Thanks Doug
>
I recommend you read the man page for chmod but to simplify:-
Each number represents the Read Write eXecute permissions for Owner,
Group and All respectively. Therefore 7 = rwx (Read, Write & eXecute)
5 means Read and eXecute only.
Think of it like this- r w x
4 2 1
For each of Owner, Group and All add the permissions you want and that
is the number you need.
There is a lot more but you can probably get by with just the above to
start with.
--
Regards, John
More information about the ubuntu-users
mailing list