Re: [Fink-users] rsync failure? su failure?

2008-08-25 Thread Neil Tiffin

On Aug 24, 2008, at 11:15 PM, James McKenzie wrote:

 Neil Tiffin wrote:

 I have the following permissions for /sw/fink:

 drwxr-xr-x   5 hansen admin   476 2008-08-17 22:01 fink




 Thanks, I changed my permissions recursively to root:admin and
 everything started working again (Mac OS X 10.5.4)

 Neil



 This is BAD security practice for Fink.  The Fink directory should be
 OWNED by YOU, not ROOT.  This maybe why you originally had this
 problem.  This would require sudo just to run Fink to do anything.   
 Let
 Fink decide what needs to be installed/updated with root privileges.
 Please change your permissions away from root.

Thanks for the heads up.  Just to be clear I have never monkeyed with  
permission for fink for any reason.  Now when I went to change it and  
follow your suggestion, I made a typo and applied username:admin to / 
sw instead of /sw/fink.  I stopped it partway through, but fear  
problems ahead.  What should be the permissions for the other  
directories in /sw?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] rsync failure? su failure?

2008-08-24 Thread Neil Tiffin
My fink installation has been messed up for some time.  Something like  
the following happens no matter what mirrors I select.  I could not  
find anything on this in the first few pages of google or any  
explanation of the correct permissions in the docs.  Any help would be  
appreciated.

Thank you.
Neil
Chicago


===
rsync -az -v  rsync://ams.nl.eu.finkmirrors.net/finkinfo//TIMESTAMP / 
sw/fink/TIMESTAMP.tmp
receiving file list ... done
TIMESTAMP

sent 117 bytes  received 130 bytes  98.80 bytes/sec
total size is 11  speedup is 0.04
I will now run the rsync command to retrieve the latest package  
descriptions.
/usr/bin/su neiltiffin -c rsync -rtz --delete-after --delete -v   -- 
include='10.4/' --include='10.4/stable/' --include='10.4/stable/main/'  
--include='10.4/stable/main/finkinfo/' --include='10.4/stable/main/ 
finkinfo/*/' --include='10.4/stable/main/finkinfo/*' --include='10.4/ 
stable/main/finkinfo/**/*' --include='10.4/' --include='10.4/stable/'  
--include='10.4/stable/crypto/' --include='10.4/stable/crypto/ 
finkinfo/' --include='10.4/stable/crypto/finkinfo/*/' --include='10.4/ 
stable/crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/*'  
--include='10.4/' --include='10.4/unstable/' --include='10.4/unstable/ 
main/' --include='10.4/unstable/main/finkinfo/' --include='10.4/ 
unstable/main/finkinfo/*/' --include='10.4/unstable/main/finkinfo/*' -- 
include='10.4/unstable/main/finkinfo/**/*' --include='10.4/' -- 
include='10.4/unstable/' --include='10.4/unstable/crypto/' -- 
include='10.4/unstable/crypto/finkinfo/' --include='10.4/unstable/ 
crypto/finkinfo/*/' --include='10.4/unstable/crypto/finkinfo/*' -- 
include='10.4/unstable/crypto/finkinfo/**/*' --include='VERSION' -- 
include='DISTRIBUTION' --include='README' --exclude='**' 'rsync:// 
ams.nl.eu.finkmirrors.net/finkinfo' '/sw/fink/'
receiving file list ... done
rsync: failed to set times on /sw/fink/.: Operation not permitted (1)
./
10.4/stable/main/finkinfo/games/
10.4/stable/main/finkinfo/games/xgalaga.info
10.4/unstable/main/finkinfo/games/
10.4/unstable/main/finkinfo/games/xgalaga.info
rsync: failed to set times on /sw/fink/.: Operation not permitted (1)

sent 1014 bytes  received 187679 bytes  53912.29 bytes/sec
total size is 31713689  speedup is 168.07
rsync error: some files could not be transferred (code 23) at / 
SourceCache/rsync/rsync-35.2/rsync/main.c(1400) [generator=2.6.9]
### execution of /usr/bin/su failed, exit code 23
Updating using rsync failed. Check the error messages above.

(1) Give up
(2) Retry the same mirror
(3) Retry another mirror from your country
(4) Retry another mirror

Default answer will be chosen in 120 seconds...


If you have concerns or questions you can direct them to
[EMAIL PROTECTED] Please do not use that address
for any communication beyond the operation of this archive.

receiving file list ... done
rsync: failed to set times on /sw/fink/.: Operation not permitted (1)
./
rsync: failed to set times on /sw/fink/.: Operation not permitted (1)

sent 922 bytes  received 176372 bytes  118196.00 bytes/sec
total size is 31713689  speedup is 178.88
rsync error: some files could not be transferred (code 23) at / 
SourceCache/rsync/rsync-35.2/rsync/main.c(1400) [generator=2.6.9]
### execution of /usr/bin/su failed, exit code 23
Updating using rsync failed. Check the error messages above.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] rsync failure? su failure?

2008-08-24 Thread Alexander Hansen

On Aug 24, 2008, at 12:55 PM, Neil Tiffin wrote:

 My fink installation has been messed up for some time.  Something like
 the following happens no matter what mirrors I select.  I could not
 find anything on this in the first few pages of google or any
 explanation of the correct permissions in the docs.  Any help would be
 appreciated.

 Thank you.
 Neil
 Chicago


 ===
 rsync -az -v  rsync://ams.nl.eu.finkmirrors.net/finkinfo//TIMESTAMP /
 sw/fink/TIMESTAMP.tmp
 receiving file list ... done
 TIMESTAMP

 sent 117 bytes  received 130 bytes  98.80 bytes/sec
 total size is 11  speedup is 0.04
 I will now run the rsync command to retrieve the latest package
 descriptions.
 /usr/bin/su neiltiffin -c rsync -rtz --delete-after --delete -v   --
 include='10.4/' --include='10.4/stable/' --include='10.4/stable/main/'
 --include='10.4/stable/main/finkinfo/' --include='10.4/stable/main/
 finkinfo/*/' --include='10.4/stable/main/finkinfo/*' --include='10.4/
 stable/main/finkinfo/**/*' --include='10.4/' --include='10.4/stable/'
 --include='10.4/stable/crypto/' --include='10.4/stable/crypto/
 finkinfo/' --include='10.4/stable/crypto/finkinfo/*/' --include='10.4/
 stable/crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/*'
 --include='10.4/' --include='10.4/unstable/' --include='10.4/unstable/
 main/' --include='10.4/unstable/main/finkinfo/' --include='10.4/
 unstable/main/finkinfo/*/' --include='10.4/unstable/main/finkinfo/*'  
 --
 include='10.4/unstable/main/finkinfo/**/*' --include='10.4/' --
 include='10.4/unstable/' --include='10.4/unstable/crypto/' --
 include='10.4/unstable/crypto/finkinfo/' --include='10.4/unstable/
 crypto/finkinfo/*/' --include='10.4/unstable/crypto/finkinfo/*' --
 include='10.4/unstable/crypto/finkinfo/**/*' --include='VERSION' --
 include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://
 ams.nl.eu.finkmirrors.net/finkinfo' '/sw/fink/'
 receiving file list ... done
 rsync: failed to set times on /sw/fink/.: Operation not permitted  
 (1)
 ./
 10.4/stable/main/finkinfo/games/
 10.4/stable/main/finkinfo/games/xgalaga.info
 10.4/unstable/main/finkinfo/games/
 10.4/unstable/main/finkinfo/games/xgalaga.info
 rsync: failed to set times on /sw/fink/.: Operation not permitted  
 (1)

 sent 1014 bytes  received 187679 bytes  53912.29 bytes/sec
 total size is 31713689  speedup is 168.07
 rsync error: some files could not be transferred (code 23) at /
 SourceCache/rsync/rsync-35.2/rsync/main.c(1400) [generator=2.6.9]
 ### execution of /usr/bin/su failed, exit code 23
 Updating using rsync failed. Check the error messages above.

 (1)   Give up
 (2)   Retry the same mirror
 (3)   Retry another mirror from your country
 (4)   Retry another mirror

 Default answer will be chosen in 120 seconds...

 
 If you have concerns or questions you can direct them to
 [EMAIL PROTECTED] Please do not use that address
 for any communication beyond the operation of this archive.

 receiving file list ... done
 rsync: failed to set times on /sw/fink/.: Operation not permitted  
 (1)
 ./
 rsync: failed to set times on /sw/fink/.: Operation not permitted  
 (1)

 sent 922 bytes  received 176372 bytes  118196.00 bytes/sec
 total size is 31713689  speedup is 178.88
 rsync error: some files could not be transferred (code 23) at /
 SourceCache/rsync/rsync-35.2/rsync/main.c(1400) [generator=2.6.9]
 ### execution of /usr/bin/su failed, exit code 23
 Updating using rsync failed. Check the error messages above.




I have the following permissions for /sw/fink:

drwxr-xr-x   5 hansen admin   476 2008-08-17 22:01 fink



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] rsync failure? su failure?

2008-08-24 Thread Neil Tiffin

On Aug 24, 2008, at 2:29 PM, Alexander Hansen wrote:


 On Aug 24, 2008, at 12:55 PM, Neil Tiffin wrote:

 My fink installation has been messed up for some time.  Something  
 like
 the following happens no matter what mirrors I select.  I could not
 find anything on this in the first few pages of google or any
 explanation of the correct permissions in the docs.  Any help would  
 be
 appreciated.

 Thank you.
 Neil
 Chicago


 ===
 rsync -az -v  rsync://ams.nl.eu.finkmirrors.net/finkinfo//TIMESTAMP /
 sw/fink/TIMESTAMP.tmp
 receiving file list ... done
 TIMESTAMP

 sent 117 bytes  received 130 bytes  98.80 bytes/sec
 total size is 11  speedup is 0.04
 I will now run the rsync command to retrieve the latest package
 descriptions.
 /usr/bin/su neiltiffin -c rsync -rtz --delete-after --delete -v   --
 include='10.4/' --include='10.4/stable/' --include='10.4/stable/ 
 main/'
 --include='10.4/stable/main/finkinfo/' --include='10.4/stable/main/
 finkinfo/*/' --include='10.4/stable/main/finkinfo/*' --include='10.4/
 stable/main/finkinfo/**/*' --include='10.4/' --include='10.4/stable/'
 --include='10.4/stable/crypto/' --include='10.4/stable/crypto/
 finkinfo/' --include='10.4/stable/crypto/finkinfo/*/' -- 
 include='10.4/
 stable/crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/ 
 *'
 --include='10.4/' --include='10.4/unstable/' --include='10.4/ 
 unstable/
 main/' --include='10.4/unstable/main/finkinfo/' --include='10.4/
 unstable/main/finkinfo/*/' --include='10.4/unstable/main/finkinfo/ 
 *' --
 include='10.4/unstable/main/finkinfo/**/*' --include='10.4/' --
 include='10.4/unstable/' --include='10.4/unstable/crypto/' --
 include='10.4/unstable/crypto/finkinfo/' --include='10.4/unstable/
 crypto/finkinfo/*/' --include='10.4/unstable/crypto/finkinfo/*' --
 include='10.4/unstable/crypto/finkinfo/**/*' --include='VERSION' --
 include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://
 ams.nl.eu.finkmirrors.net/finkinfo' '/sw/fink/'
 receiving file list ... done
 rsync: failed to set times on /sw/fink/.: Operation not permitted  
 (1)
 ./
 10.4/stable/main/finkinfo/games/
 10.4/stable/main/finkinfo/games/xgalaga.info
 10.4/unstable/main/finkinfo/games/
 10.4/unstable/main/finkinfo/games/xgalaga.info
 rsync: failed to set times on /sw/fink/.: Operation not permitted  
 (1)

 sent 1014 bytes  received 187679 bytes  53912.29 bytes/sec
 total size is 31713689  speedup is 168.07
 rsync error: some files could not be transferred (code 23) at /
 SourceCache/rsync/rsync-35.2/rsync/main.c(1400) [generator=2.6.9]
 ### execution of /usr/bin/su failed, exit code 23
 Updating using rsync failed. Check the error messages above.

 (1)  Give up
 (2)  Retry the same mirror
 (3)  Retry another mirror from your country
 (4)  Retry another mirror




 I have the following permissions for /sw/fink:

 drwxr-xr-x   5 hansen admin   476 2008-08-17 22:01 fink



Thanks, I changed my permissions recursively to root:admin and  
everything started working again (Mac OS X 10.5.4)

Neil


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] rsync failure? su failure?

2008-08-24 Thread James McKenzie
Neil Tiffin wrote:

 I have the following permissions for /sw/fink:

 drwxr-xr-x   5 hansen admin   476 2008-08-17 22:01 fink


 

 Thanks, I changed my permissions recursively to root:admin and  
 everything started working again (Mac OS X 10.5.4)

 Neil


   
This is BAD security practice for Fink.  The Fink directory should be
OWNED by YOU, not ROOT.  This maybe why you originally had this
problem.  This would require sudo just to run Fink to do anything.  Let
Fink decide what needs to be installed/updated with root privileges. 
Please change your permissions away from root.

Thank you.

James McKenzie


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users