Re: [Proftpd-user] proftpd-1.3.6 symlink issue
"Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]" <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
so why don't you create them properly? >>> >I have created the symlink correctly and it is fine if I switch back to proftpd-1.3.5rc1 but I am having this problem only with proftpd-1.3.6? **proftpd displaying correct symlink target with proftpd-1.3.5rc1** # pwd /tower/data/archive/public #ls -lt drwxrwxr-x 10 1031 504 13 Apr 24 13:49 pub - lrwxrwxrwx 1 509 504 18 Sep 26 2012 000_readme.txt -> pub/000_readme.txt -lrwxrwxrwx 1 1031 504 24 Sep 25 2012 filelist.gz -> pub/catalogs/filelist.gz **proftpd displaying Incorrect symlink target with proftpd-1.3.6** #ls -lt drwxrwxr-x 10 1031 504 13 Apr 24 13:49 pub - lrwxrwxrwx 1 509 504 18 Sep 26 2012 000_readme.txt -> 000_readme.txt/pub/000_readme.txt -lrwxrwxrwx 1 1031 504 24 Sep 25 2012 filelist.gz -> filelist.gz/pub/catalogs/filelist.gz Please note that in the above examples "pub" and "catalogs" are subdirectory within the chroot (/tower/data/archive/public/). Thank you. Uthra -----Original Message----- From: Matus UHLAR - fantomas [mailto:[email protected]] Sent: Friday, April 21, 2017 11:40 AM To: [email protected] Subject: Re: [Proftpd-user] proftpd-1.3.6 symlink issue On 19.04.17 12:47, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote: >who creates those symlinks? >>>These symlinks are created by me manually. manually? on the filesystem or though proftpd? so why don't you create them properly? >This was working fine in version proftpd-1.3.5rc1. We recently upgraded to version proftpd-1.3.6 and we now see a problem with the symlink. I have explained how symlinks work. You have said you create symlinks manually, you just have to create them using proper way (switching to mod_vroot is NOT a solution to this problem) >-----Original Message----- >From: Matus UHLAR - fantomas [mailto:[email protected]] >Sent: Wednesday, April 19, 2017 5:46 AM >To: [email protected] >Subject: Re: [Proftpd-user] proftpd-1.3.6 symlink issue > >On 18.04.17 16:21, Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC] wrote: >>I have compiled and installed proftpd-1.3.6 on my RHEL6 server. I >>noticed that the symlinks are broken and it is not showing the >>correct path. The name of the symlink is being added to the path of >>the symlink in the anonymous chroot. > >>Please see below: >> >>Incorrect path: >>lrwxrwxrwx 1 user1 group1 18 Sep 26 2012 000_readme.txt -> /000_readme.txt/pub/000_readme.txt >> >>Correct path: >>lrwxrwxrwx 1 user1 group1 18 Sep 26 2012 000_readme.txt -> pub/000_readme.txt > >who creates those symlinks? > >>I am not sure why it is adding the name of the file to the beginning of the path. This looks like a bug? Has anyone encountered this issue? >>Please let me know if there is a workaround for this? Thank you. > >symlinks are interpreted relative to chroot by the OS. >(or, by proftpd when using mod_vroot). -- Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. "They say when you play that M$ CD backward you can hear satanic messages." "That's nothing. If you play it forward it will install Windows." ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html