Results 1 to 6 of 6

Thread: wrong group?

  1. #1
    Join Date
    Nov 2008
    Location
    Maine
    Beans
    1,125
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question wrong group?

    Hi all,
    I have a user account on a friends computer, but the permissions are screwy.
    I can use sudo commands. every time I log in via ssh, I get a message stating:
    cannot find name for group ID 501

    I have no idea what that means...
    but when I view the other users of the home directory, I see the suspicious 501.
    Code:
    $ll
    drwxr-xr-x  6 ilaforge     ilaforge     4096 2012-03-29 12:18 ilaforge
    drwxr-xr-x  5 jreistad     jreistad     4096 2012-03-30 11:52 jreistad
    drwxr-xr-x 16 conradin              501 4096 2012-03-31 19:17 conradin
    I just want my home directory to function normally so I can put my web pages up. is 501 a group or a folder? what is ll telling me here?
    ~Conradin~

  2. #2
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: wrong group?

    501 is the GID there, you can chown it to the user and their group using
    Code:
    sudo chown -R user:group folder
    generally, user groups start at 1000, unless whoever made them creates them differently

  3. #3
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,771
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: wrong group?

    Quote Originally Posted by HiImTye View Post
    501 is the GID there, you can chown it to the user and their group using
    Code:
    sudo chown -R user:group folder
    generally, user groups start at 1000, unless whoever made them creates them differently
    Note : RHEL based systems usually start at 500.

    The above posted solution should work for you but if you want to find out what group that is you can try

    Code:
    getent group 501
    Hope this helps.

  4. #4
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: wrong group?

    true but since it has an [Ubuntu] prefix I hadn't considered Red Hat problems

  5. #5
    Join Date
    Jun 2011
    Location
    Atlanta Georgia
    Beans
    1,771
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: wrong group?

    I was just pointing it out, newer RHEL releases have changed to the 1000 starting point.

  6. #6
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: wrong group?

    I did not know that

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
  •