Results 1 to 5 of 5
Hi there. While searching for a way to open .bin files on Ubuntu I came to this forum. I've been using Ubuntu for about 4 months, and am starting to ...
- 04-13-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 2
Saying hi & a question about permissions
Hi there. While searching for a way to open .bin files on Ubuntu I came to this forum. I've been using Ubuntu for about 4 months, and am starting to delve into the command line. Sometimes when I look up guides to install programs it says to use chmod 775. At least I think that was what it was. Something to do with permissions. What does the 775 indicate? are there other numbers you can use instead?
- 04-13-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,095
Welcome to the forums, gulyman!
Take a look at this tutorial for info on Linux permissions.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 04-13-2008 #3Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
4 is read
2 is write
1 is exec
The permissions are specified on this order: user/group/others
So, 775 means:
4+2+1 (all permissions) for user
4+2+1 (all permissions) for group
1+4 (exec and read, but not write) for others
664, for example, would be:
4+2 (read and write) for user
4+2 (read and write) for group
4 (read only) for others
740 would be:
4+2+1 (all) for user
4 (read) for group
0 (no permissions at all) for others
All the info you need is on the man page for chmod.
- 04-23-2008 #4Just Joined!
- Join Date
- Apr 2008
- Posts
- 2
Thanks that was pretty helpful. Ther sure is alot of stuff to memorize in the command line.
- 04-23-2008 #5
That's why the All-Mighty Unix creator made "man".
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...


Reply With Quote
