Re: [Proftpd-user] proftpd-1.3.6 symlink issue

Matus UHLAR - fantomas <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.