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]> |
I tried to configure my proftpd.conf file as shown in this example but I could not start the proftpd daemon:
For example:
<VirtualHost a.b.c.d>
VRootEngine on
VRootServerRoot /etc/ftpd/a.b.c.d/
VRootOptions allowSymlinks
DefaultRoot ~
...
</VirtualHost>
Thanks,
Uthra
-----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.
Due to unexpected conditions Windows 2000 will be released in first quarter of year 1901
------------------------------------------------------------------------------
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