LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 07: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, 07:43 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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, 07: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, 10:34 PM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 10: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



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 02:48 AM
Number of current sessions for user neel_learning_linux Linux - Newbie 5 05-13-2009 03:14 PM
User identification number assigning linuxjamil Fedora 2 10-23-2008 04:15 AM
maximum number of processes per user kshkid Programming 10 07-06-2006 02:41 PM
user shows up as a number in ps aux chibi Linux - General 3 05-04-2005 08:40 AM

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

All times are GMT -5. The time now is 04:27 PM.

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
Open Source Consulting | Domain Registration