[Xastir] User 501
Matt Pelmear
mjpelmear at gmail.com
Tue Feb 12 20:39:37 EST 2013
This scenario commonly occurs when you download a tar (zip) file created
on a system which had a user 501.
You could always chown the file to your user to avoid the permissions issue:
sudo chown `whoami` filename (where "filename" is the name of
the file with the odd ownership. Note that those are backticks, not
single quotes.)
You can do a whole directory of files this way too:
sudo chown -R `whoami` directoryname
These both assume your user has "sudo" capabilities. Otherwise you would
need to do this as the root user. (I recommend using sudo over doing
this as root.)
-Matt
KC2ZYS
On 02/12/2013 03:12 PM, Jason KG4WSV wrote:
> Unix doesn't store names, it stores user IDs (UID). The passwd file
> is the map between usernames and UIDs.
>
> You may be seeing a situation where the user who owned the file no
> longer exists, but the file is still there. Since the file is there,
> the old UID is still there.
>
> -Jason
> kg4wsv
> _______________________________________________
> Xastir mailing list
> Xastir at lists.xastir.org
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
More information about the Xastir
mailing list