On Fri, Nov 21, 2003 at 12:40:46PM -0500, Kyle Moffett wrote:
> OTOH, You're doing something funny with local and the UID/EUID.  
> Once you've set both the UID and EUID to nonzero, you can't (theoretically) 
> set them back. 

If this were true, the tests wouldn't work.  However, I don't have a good
understanding of the difference between UID and EUID so I'll take your 
advice.


> Also, for the test on lines 143-158, you chmod the file 0400, so the 
> later "(stat 'foo')[9]" that you do should fail, because AFAIK you cannot 
> stat a file that you do not have access to.

It works here, but maybe its an HFS+ thing.  That should solve the test
on line 156.

It doesn't explain the one on 106 which is really weird.  Its an rm_rf() not 
returning 0, but apparently its deleting the directories and setting $!.
And why?  Because the test is wrong.  Oops.  Its checking to see if
rm_rf() returns true when it can create a directory but not create another.
Its supposed to return false!  My bad.

Things should be working now.


-- 
Michael G Schwern        [EMAIL PROTECTED]  http://www.pobox.com/~schwern/
...someone always points out that we'll end up dressing like gay space
pirates anyway, so why bother planning otherwise?
        - C.H.U.N.K. DCLXVI


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to