Home » Questions » Computers [ Ask a new question ]

Would linux map the owner id of files coming from other computers to the account name in /etc/passwd?

Would linux map the owner id of files coming from other computers to the account name in /etc/passwd?

When I use ls -al to show files downloaded from internet,

Asked by: Guest | Views: 63
Total answers/comments: 1
Guest [Entry]

"The uid and gid there demonstrate the owner/group of the whoever created those files. In truth, since you downloaded them from the net and it appears to be a source tarball, they don't really matter. If you plan on using these files yourself in, lets say, your home directory you can just overwrite the uid and gid without having to fear that your computer will melt.

In this situation, what does matter is the fact that you are neither the owner nor part of the owning group for those files and the permissions are set so that you have no write access. To change this, you could simply change the owner/group via ""sudo chown : *""."