The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

showing UID

Discussion in 'General Discussion' started by s3kk3y, Mar 5, 2003.

  1. s3kk3y

    s3kk3y Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    I just updated to cp 6 and now i notice that the files and folders are showing the numeric UID instead of the name of the user as the owner.

    How can i change it back to show the username instead of the number?
     
  2. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    cPanel Access Level:
    DataCenter Provider
    You can use

    chown username:groupname *

    or to do subdirectories as well

    chown -R username:groupname *
     
  3. s3kk3y

    s3kk3y Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    Thanks dg, but i know i can chown files.

    This is server-wide. All the users files are owned by a number instead of a name.

    Could it be a setting with WHM?
     
  4. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    What do you mean exactly? When listing the files from shell with ls? When browsing your directories from an FTP client?
     
  5. s3kk3y

    s3kk3y Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    When i browse files from a FTP client.
     
  6. s3kk3y

    s3kk3y Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    anyone?
     
  7. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain
    Which FTP server are you using, proftpd or pureftpd?
     
  8. Website Rob

    Website Rob Well-Known Member

    Joined:
    Mar 23, 2002
    Messages:
    1,506
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    Alberta, Canada
    cPanel Access Level:
    Root Administrator
    Have you checked: WHM > Edit Setup > Minimum Uid - to make sure it is blank?
     
  9. s3kk3y

    s3kk3y Well-Known Member

    Joined:
    Oct 12, 2002
    Messages:
    94
    Likes Received:
    0
    Trophy Points:
    6
    Juanra:

    I recently changed from proftpd to pureftpd. Could this be the cause?

    Rob:
    WHM > Edit Setup > Minimum Uid = blank
     
  10. Juanra

    Juanra Well-Known Member

    Joined:
    Sep 22, 2001
    Messages:
    777
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Spain


    It could very well be, since pureftpd has a --without-usernames config option to hide user and group names in directory listings. But I'm not using pureftpd myself so I don't really know. Other users of pureftpd should see the same thing if that's the case.
     
Loading...

Share This Page