LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
LinkBack Search this Thread
Old 10-29-2008, 01:58 AM   #1
bourne
Member
 
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181

Rep: Reputation: 30
User and Group file ownership... Weird


Hey guys...

Recently I downloaded a file from gnome-look which was a config file for conky.

Upon extracting the contents of the tar file that I downloaded I followed the tutorial in order configure conky to work. I managed to get everything working fine. I shut down my machine and later started it back up again. I then attempted to access the .conkyrc file to edit a few things. It was then that I realized that something had changed about the file. I noticed that the files ownership and permissions has changes.

Code:
-rw-r--r--  1   1000   1000       3293 2008-10-29 02:09 .conkyrc
I thought this to be really strange because I had just been editing the file with no problems. And what bothered me further was the ownership of the file 1000,1000.

Now this is probably a totally stupid question but I am just curious as to how this might have happened? Doesn't the owner of the file or the group that the file is apart of have to be present on the machine? I did a search for anything 1000 on my machine and nothing turned out. Maybe I am just being paranoid but it just seemed really weird. Does anyone have any ideas?


Thank you in advance


cheers

todd
 
Old 10-29-2008, 02:10 AM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
1000 is the user I'd number. this is most likely a file created by a regular user on another system and then moved over to yours. 1000 is the default ID for the first regular user on some distros. since you don't have a user with the ID 1000 on your system it just displays the number. you probably overwrite the file with one in the tar file. just 'chown' it and you should be fine.
 
Old 10-29-2008, 09:06 AM   #3
bourne
Member
 
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by johnson_steve View Post
1000 is the user I'd number. this is most likely a file created by a regular user on another system and then moved over to yours. 1000 is the default ID for the first regular user on some distros. since you don't have a user with the ID 1000 on your system it just displays the number. you probably overwrite the file with one in the tar file. just 'chown' it and you should be fine.
Wow now I feel retarded.. sorry for the post..

Thank you very much for the explanation as to what that meant I wasn't aware of that.I figured that I was just being a little paranoid

Thank you again


cheers

todd
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set group ownership on files as they are created gatsby Linux - Newbie 1 02-25-2008 03:31 PM
Changing group ownership rayn0r Linux - Networking 1 11-28-2007 04:35 PM
changing ownership and group of multiple files.. utanja Debian 3 02-21-2005 06:10 PM
making a user to run file (group) Paxmaster Linux - General 2 02-11-2005 06:14 PM
changing users and group ownership dkc_ace Linux - General 4 02-03-2003 07:50 PM


All times are GMT -5. The time now is 07:24 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