LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   User and Group file ownership... Weird (https://www.linuxquestions.org/questions/linux-security-4/user-and-group-file-ownership-weird-679706/)

bourne 10-29-2008 01:58 AM

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

johnson_steve 10-29-2008 02:10 AM

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.

bourne 10-29-2008 09:06 AM

Quote:

Originally Posted by johnson_steve (Post 3324738)
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


All times are GMT -5. The time now is 08:50 AM.