|VSFTPD : 550 Failed to change directory|
|UNIX / Linux - General UNIX|
|Thursday, 21 October 2010 00:10|
By default VSFTPD does not allow the browsing of symbolic links. When you try to browse sym links you will get a message saying,
550 Failed to change directory
In order to overcome this you can use the mount command. Here are the steps :
[root@server ftpuser]# pwd
As you can see from this example, we create a link in the ftpusers home directory to link through to the /var/log/ directory. Once done we change the group on the directory to ensure there are no permission issues.
You will also want to make your binded mount permanent. To do this add the following line to /etc/fstab.
/my/real/dir /to/mount/dir none bind 0 0
If you want to remove the binded mount, umount the path and then remove the directory.
[root@server ftpuser]# ls -l
- Incapsula (Review) - How to Protect and Secure your website in 10 minutes
- Window wont show when using Cisco VPN Client 5.x / Windows 7
- How to Fix Unreadable Directory Listings within the Shell
- Python - List Comprehensions
- Python - What does 'if __name__ == "__main__"' mean ?
- Python - Decorators
- BIGIP F5 LTM - Action on Service Down
- Brocade ADX - How do I bind multiple ports to a single healthcheck ?
- MySQL - How to reset a forgotten Root password
- Django - How can I pass a string from a URL to a view ?
- Vyatta - Unable to log into GUI : "Username or password is incorrect"
- Cisco ASA - How do VPN Filters work ?
- How do I use AJAX along side Django ?
- Outlook 2010 - The 'Delete Conversation' Shortcut
- How do I import a python module from another folder ?
- How do I configure Django to serve my Robots.txt file ?
- Brocade ADX - The Dynamic Weighted Predictor
- How to serve multiple domains from within a single Django project
- Vyatta - How do I secure management access ?
- Vyatta - How to configure an IPSEC site to site VPN
- Proxy ARP – SPLAT
- Check Point Commands
- IPSO - Commands
- ASA 8.3 - Auto NAT Examples
- vSphere - Creating User and Group Permissions
- Configuring Wireless Connectivity within Backtrack 4 r2
- Juniper Netscreen Commands
- Configuring Windows 2008 R2 as an NTP Server
- How to set the Time / Date and Timezone in CentOS
- PEMU - Free Cisco PIX Firewall Emulator / Simulator
- Juniper Netscreen - NAT Explained
- How do I install snmpwalk / snmpget using Yum ?
- Troubleshooting a Netscreen Site 2 Site VPN
- Netscreen - NSRP
- Check Point Logging Troubleshooting Guide
- How do I configure IPv6 in Windows XP ?
- Check Point - How to Reset SIC
- Endpoint Connect Installation / Troubleshooting Guide
- VI shows the error Terminal too wide within Solaris
- ESX Convertor - The session is not authenticated