Le 4 mars 2005, à 6:16, Robert T Wyatt a écrit :
At 5:44 AM +0100 3/4/05, Michèle Garoche wrote:Oh well, I don't know if it is possible to use scp inside fugu via ssh the same way you can use sftp. I use also fugu with sftp/ssh but then I'm the administrator of the machine, so that I've the right permissions.Normally, you can put the sources directly in prefix/src. This is where fink looks for them before trying to download them.
I tried that first, per some docs that I found somewhere, but I found that to be more difficult, permissions-wise, than doing it in my ~/src directory. With my solution, I was able to use scp with FUGU to drag and drop the files (I used ssh via terminal to run fink). I was not able to copy into /src, although I'll bet there's a way (I cannot login as root on the machine at work, the best I can do is sudo and I wasn't in the mood for using the shell to copy a file onto a remote machine).
Is there a something I should be careful of in using ~/src (especially considering that I am now serving files with apache)? Can someone get in through /sw/fink to my ~/src directory (and would they have to know my shortusername to do it)?All depends how are your permissions in ~. Normally nobody can go inside your ~ directory and Apache refuses to serve a file when any part of the full pathname has not the right permissions, unless you instruct Apache to do so.
Well, if you want, give me the uri, without anything else (no username) and I try it. This way I'll tell you if I can download something. That's the best way to test it, since if you test it, it can be that you have some permissions that I have not.
Michèle <http://micmacfr.homeunix.org>
PGP.sig
Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=