[oclug]tar question

Bart Trojanowski bart-oclug at jukie.net
Wed Jan 22 10:58:38 EST 2003


* Michael P. Soulier <msoulier at digitaltorque.ca> [030122 10:53]:
>     Group,
> 
>     When root untar's a file, the files maintain ownership of the original
> owner. This doesn't happen with a non-priviledged user. 
> 
>     Anyone know why that is?

Probably because a user is not allowed to change the file ownership to
that other then it's own.

That is to say...

	touch foo
	chown someoneelse foo

will fail, unless you are root.

B.

-- 
				WebSig: http://www.jukie.net/~bart/sig/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20030122/94fe36e8/attachment.bin


More information about the OCLUG mailing list