Results 1 to 6 of 6

Thread: User Permission

  1. #1
    Join Date
    Feb 2011
    Beans
    2

    Red face User Permission

    Can someone tell me if it is easier to set up permissions for users on the server or on the desktop?

  2. #2
    Join Date
    Feb 2011
    Beans
    4

    Re: User Permission

    Its a lot easier on the Desktop than the server because the permission command is chmod <777> <username>. much simpler and fast. compared to the server command which i have no idea what that is

  3. #3
    Join Date
    Feb 2011
    Beans
    2

    Re: User Permission

    Thanks Tyler, with that command I will be able to allow certain users to have different control?

  4. #4
    Join Date
    Feb 2011
    Location
    Philippines
    Beans
    5
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: User Permission

    Code:
    sudo chmod -R 777 /dir

  5. #5
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: User Permission

    There is no difference in the way permissions are set between the desktop and the server. The only differences between the two is one has a gui, and the other hasn't, and the server uses a slightly different kernel.

  6. #6
    Join Date
    Jan 2010
    Location
    CT USA
    Beans
    397
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: User Permission

    Quote Originally Posted by judo23 View Post
    Thanks Tyler, with that command I will be able to allow certain users to have different control?
    You have 3 levels of control - user, group and other. Each can have read, write and execute set.
    Set the owner of the file using "chown username file"
    Set the group using "chgrp groupname file"
    or if you want to be fancy and do both at the same time:
    chown user:group file
    Finally, chown sets the permissions:
    777 = rwx (read write execute) for owner group & other
    700 = rwx just for owner
    4 = read
    2 = write
    1 = execute
    add them together to get the appropriate permission
    Put your users into groups to to take advantage of group permissions

    Other is anyone that is not the owner or in the owning group
    Last edited by cjhabs; February 11th, 2011 at 03:07 AM. Reason: More detail

Tags for this Thread

Bookmarks

Posting Permissions

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