so why don't you create them properly?
Post by Matus UHLAR - fantomasPost by Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]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:***@fantomas.sk]
Sent: Friday, April 21, 2017 11:40 AM
To: proftp-***@lists.sourceforge.net
Subject: Re: [Proftpd-user] proftpd-1.3.6 symlink issue
manually? on the filesystem or though proftpd?
so why don't you create them properly?
Post by Matus UHLAR - fantomasThis 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)
Post by Matus UHLAR - fantomas-----Original Message-----
Sent: Wednesday, April 19, 2017 5:46 AM
Subject: Re: [Proftpd-user] proftpd-1.3.6 symlink issue
Post by Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]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.
lrwxrwxrwx 1 user1 group1 18 Sep 26 2012 000_readme.txt -> /000_readme.txt/pub/000_readme.txt
lrwxrwxrwx 1 user1 group1 18 Sep 26 2012 000_readme.txt -> pub/000_readme.txt
who creates those symlinks?
Post by Rao, Uthra R. (GSFC-672.0)[ADNET SYSTEMS INC]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, ***@fantomas.sk ; 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 <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html