On 03/11/2009, at 09:40, Martin Costabel wrote:
> Alexander Hansen wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> [email protected] wrote:
> []
>>>> /usr/bin/su unknown -c 'cvs -q -z3 update -d -P -l'
>>>> ### execution of /usr/bin/su failed, exit code 1
>>>> /usr/bin/su unknown -c 'cvs -q -z3 update -d -P 10.4'
>>>> ### execution of /usr/bin/su failed, exit code 1
>>>> Failed: Updating using CVS failed. Check the error messages above.
>>> tia, Jonathan
>>>
>>
>> I'm not sure, but this could be a legacy of setting things up with
>> ignored ownership on your drive.
>
> I thin this is the case. The user "unknown" doe not seem to be right
> here. Fink takes the user for which to run the su command from the
> ownership of one of the files or directories in /sw/fink/ (forgot  
> which
> one, and too lazy to decrypt fink's code). What does
>
>   ls -la /sw/fink
>
> give?


Martin is correct. Fink uses the owner of the /sw/fink/CVS directory  
as the user under which the cvs command will be run.

I believe it would be to cleaner to switch to rsync and then (if  
needed) switch back to CVS. Note that rsync should be faster than CVS  
in most cases...

...however, if I understood correctly, you moved your Fink  
installation from your system HD to an external HD which didn't have  
ownership/permissions enabled. This means that owners/permissions that  
were present in your Fink installation on the system HD were nulled  
when the copy was made. Unless Mac OS does some magic and is able to  
restore the original owners/permissions, you've got a half-baked Fink  
installation. Also, some packages need files to be owned by specific  
users installed by the passwd package.

There's a lot of potential for trouble so I would recommend  
reinstalling Fink altogether. The following page has some instructions  
that might be helpful:

http://finkers.wordpress.com/2009/08/31/starting-anew/

At any rate, as Martin's suggested, send us the output of

ls -la /sw/fink


Cheers,

--
monipol
http://finkers.wordpress.com

Submitting a Fink bug report? Read this:
http://www.finkproject.org/doc/netiquette/index.php
http://finkers.wordpress.com/2009/06/03/bug-reports/


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to