LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-26-2004, 11:26 AM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
numbers as file owners


In my linux (see left) I often see files and directories with ownerships settings as numbers.

There's a high variation in what those number can be and happen when I de-tar packages and stuff.

I suppose I can just chown -r all of them for simplicity's sake as they are off-putting. Anybody know why they occur?
 
Old 04-26-2004, 12:12 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,264
Blog Entries: 54

Rep: Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841Reputation: 2841
In my linux (see left) I often see files and directories with ownerships settings as numbers.
Common for UID's that you don't have on the system. A quick way to check would be to do "getent passwd that_UID". Chowning them is the right way to go. Uncommon causes would be if you would have system auth reading problems (for instance wrong perms on /etc/passwd) or use app switches that doesn't translate UID's to usernames (like "ls -n").
 
Old 04-27-2004, 11:45 AM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Original Poster
Rep: Reputation: 32
cheers for the explanation unSpawn. BTW great work you do on the security front.
 
Old 04-27-2004, 12:29 PM   #4
Blinker_Fluid
Member
 
Registered: Jul 2003
Location: Clinging to my guns and religion.
Posts: 682

Rep: Reputation: 63
Sounds like whoever created the tar file is throwing in something like the --same-owner switch when creating the tar file.
The most common reason I've seen for numbers is when users are deleted.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] file locations and version numbers politik Linux - Newbie 2 08-21-2005 09:32 PM
Backup partition keeping file owners the same Sledge Linux - Newbie 1 05-14-2005 09:14 PM
Pretty confused about using numbers for file permissions Squall Linux - General 3 04-21-2004 09:17 PM
Checking a file for numbers chrisk5527 Linux - General 1 09-12-2003 08:50 AM
file version numbers tjones11 Programming 2 03-15-2002 12:51 PM


All times are GMT -5. The time now is 02:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration