> Check the owner of the directory /sw/fink/10.4 (or whatever dist  
> you are updating), using "ls -l /sw/fink". That's the one fink is  
> using as user name for the su command. If the directory is owned by  
> a user id that has no account on your machine, you'll see the kind  
> of error you described.

The contents of /sw/fink are:

drwxr-xr-x    10 trevor  trevor   340B Mar 10 05:02 10.4
...
lrwxr-xr-x     1 root    admin      4B Mar 29 17:53 dists -> 10.4

So it turns out that the 10.4 directory was okay; it was the dists  
symlink that was causing the problem. For some reason, the group  
ownership by "admin" was causing su to fail. After I simply deleted  
and recreated the symlink, resulting in group ownership by "trevor",  
selfupdate was working again.

I just wish I knew how the permissions on the symlink got messed up.  
I'm certain I didn't change them manually. Perhaps the fink command  
should check for invalid permissions before executing selfupdate.

Thanks for your help,

Trevor


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to