LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-10-2012, 08:39 PM   #1
pgflrob
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Rep: Reputation: 0
What does it mean when the user is a number?


What does it mean when the user is a number?

ls -li
3214925 -rw-r--r-- 1 502 staff 889 Apr 4 2011 prompt.js
 
Old 03-10-2012, 08:43 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
It means the file/directory is owned by the user with UID=502. Since it shows as a number on your system, that means you have no user with a UID=502.
 
Old 03-10-2012, 08:48 PM   #3
pgflrob
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0
How does a file get a numeric User ID if there is no user with that UID? Confusing.
 
Old 03-10-2012, 11:34 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
One way is to unpack an archive from another system including files belonging to a user (502) that exists on that system. Another way is to delete the 502 user.
 
Old 03-11-2012, 11:09 AM   #5
pgflrob
LQ Newbie
 
Registered: Jan 2011
Posts: 7

Original Poster
Rep: Reputation: 0
OK thanks that is helpful. I know that some of these files indeed did come from a tar that was unpacked. Not sure about some others.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Identify and explain the major number, minor number, and revision number in Linux... turbomen Linux - Newbie 1 11-16-2010 03:48 AM
Number of current sessions for user neel_learning_linux Linux - Newbie 5 05-13-2009 04:14 PM
User identification number assigning linuxjamil Fedora 2 10-23-2008 05:15 AM
maximum number of processes per user kshkid Programming 10 07-06-2006 03:41 PM
user shows up as a number in ps aux chibi Linux - General 3 05-04-2005 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration