Find the answer to your Linux question:
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 ...
  1. #1
    Just 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?

  2. #2
    oz
    oz is online now
    forum.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.

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by gulyman View Post
    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?
    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.

  4. #4
    Just Joined!
    Join Date
    Apr 2008
    Posts
    2
    Thanks that was pretty helpful. Ther sure is alot of stuff to memorize in the command line.

  5. #5
    Linux User dxqcanada's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    259
    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" ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...