Re: losing leading / when copying symbolic links

2001-02-08 Thread Dave Dykstra
On Thu, Feb 08, 2001 at 11:08:45AM -0500, Diab Jerius wrote: ... > Ok, I wasn't considering the fact that the client may be traversing > symbolic links to create the file list (I use the -x flag, and had > that fixed in my mindset). > > As for determining if the path is within the module; df (und

Re: losing leading / when copying symbolic links

2001-02-08 Thread Diab Jerius
On 8 Feb, Dave Dykstra wrote: > > The problem with full pathname symlinks and "use chroot = no" is that it > can let somebody affect things outside of the module. For example, > somebody could first upload a symlink to a directory outside of the module > and then write into it. I implemented t

Re: losing leading / when copying symbolic links

2001-02-08 Thread Dave Dykstra
On Thu, Feb 08, 2001 at 10:56:15AM -0500, Diab Jerius wrote: > On 8 Feb, [EMAIL PROTECTED] wrote: > > It may be that you can fix your problem without modifying rsync or getting root >access to do chroot, simply by making your symlinks relative in the source. > > If /module/dir/link points to /o

Re: losing leading / when copying symbolic links

2001-02-08 Thread tim . conway
/08/2001 08:50:11 AM Sent by:[EMAIL PROTECTED] To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: [EMAIL PROTECTED]@SMTP [EMAIL PROTECTED]@SMTP Subject:Re: losing leading / when copying symbolic links Classification: On Thu, Feb 08, 2001 at 09:35:17AM -0600, [EMAIL PROTECTED] wrote

Re: losing leading / when copying symbolic links

2001-02-08 Thread Diab Jerius
On 8 Feb, [EMAIL PROTECTED] wrote: > It may be that you can fix your problem without modifying rsync or getting root >access to do chroot, simply by making your symlinks relative in the source. > If /module/dir/link points to /othermodule/otherdir, perhaps you could point it to >../../othermod

Re: losing leading / when copying symbolic links

2001-02-08 Thread Dave Dykstra
On Thu, Feb 08, 2001 at 09:35:17AM -0600, [EMAIL PROTECTED] wrote: > It may be that you can fix your problem without modifying rsync or getting > root access to do chroot, simply by making your symlinks relative in the > source. If /module/dir/link points to /othermodule/otherdir, perhaps you >

Re: losing leading / when copying symbolic links

2001-02-08 Thread tim . conway
: losing leading / when copying symbolic links Classification: On Thu, Feb 08, 2001 at 08:43:27AM -0500, Diab Jerius wrote: > Dave, > > Thanks, that's exactly it. I can't set chroot=yes, as I'm not running > the server as root. As much as it's nice to have soft

Re: losing leading / when copying symbolic links

2001-02-08 Thread Dave Dykstra
On Thu, Feb 08, 2001 at 08:43:27AM -0500, Diab Jerius wrote: > Dave, > > Thanks, that's exactly it. I can't set chroot=yes, as I'm not running > the server as root. As much as it's nice to have software prevent you > from shooting yourself in the foot, when you really want to, it should > let y

Re: losing leading / when copying symbolic links

2001-02-08 Thread Diab Jerius
Dave, Thanks, that's exactly it. I can't set chroot=yes, as I'm not running the server as root. As much as it's nice to have software prevent you from shooting yourself in the foot, when you really want to, it should let you. Is there any way around this? Diab On 7 Feb, Dave Dykstra wrote

Re: losing leading / when copying symbolic links

2001-02-07 Thread Dave Dykstra
On Wed, Feb 07, 2001 at 05:42:55PM -0500, Diab Jerius wrote: > Here's a mystery (to me at least!): > > I've got a symbolic link on the source disk which looks like this: > > > ls -l /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp > [...] > /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp

losing leading / when copying symbolic links

2001-02-07 Thread Diab Jerius
Here's a mystery (to me at least!): I've got a symbolic link on the source disk which looks like this: > ls -l /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp [...] /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp -> /proj/axaf/Simul/bin/mips4_r10k-IRIX-6/spatquant_bp-D2304 my rsyn