On Sat, Jun 21, 2008 at 12:36 AM, Ben Hutchings <[EMAIL PROTECTED]> wrote:
> It looks like it's unpacking the archive under /tmp, generating
> checksums, then deleting the files as it goes.  Before unlinking it uses
> chmod, presumably to ensure the unlink will succeed.  But chmod follows
> sym-links, and these sym-links are absolute so it chmods the installed
> files!

Well that's stupid, since the permissions of the files are irrelevent
for unlink, only the permissions on the directory are relevent. you
could chmod 000 and still unlink the file.

I suppose it's a fudge for non-POSIX compliant filesystems?

Have a nice day,
-- 
Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to