- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: 550 Failed to change directory.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 12:54 AM
тАО01-13-2010 12:54 AM
After installing and configuring vsftpd package, I could login with FTP but I can't change to some directories especially the newly created ones.
230 Login successful.
ftp>
ftp>
ftp> bin
200 Switching to Binary mode.
ftp> ls /works
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
/works
226 Directory send OK.
ftp: 8 bytes received in 0.00Seconds 8000.00Kbytes/sec.
ftp>
ftp> cd /works
550 Failed to change directory.
ftp>
Please Advice
Regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 02:16 AM
тАО01-13-2010 02:16 AM
Re: 550 Failed to change directory.
Also, are you using SELinux?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 03:32 AM
тАО01-13-2010 03:32 AM
Re: 550 Failed to change directory.
I am using RHEL5, please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 03:57 AM
тАО01-13-2010 03:57 AM
Solutionsestatus
Disable SELinux using
setenforce 0
Restart the vsftpd daemon
service vsftpd restart
Disable SELinux by editing /etc/sysconfig/selinux
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 04:07 AM
тАО01-13-2010 04:07 AM
Re: 550 Failed to change directory.
setsebool ftpd_disable_trans 1
service vsftpd restart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 07:59 AM
тАО01-13-2010 07:59 AM
Re: 550 Failed to change directory.
Please, I am used to HP-UX, not Linux. Forgive me if my question is too basic:
What is SELinux ?
What does it do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 08:41 AM
тАО01-13-2010 08:41 AM
Re: 550 Failed to change directory.
By default vsftpd chroot's the user.
That means the user does not have access to /
You are in a subdirectory when you start.
Or:
The user does not have permissions.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 08:54 AM
тАО01-13-2010 08:54 AM
Re: 550 Failed to change directory.
When it comes to files, it extends file permissions beyond the classic -rwxrwxrwx set, controlling which processes can access which files and how.
If it's being enforced on vsftpd it could be the culprit of your problem, and you would have to either configure the SELinux policies or disable it for the vsftpd daemon.
As suggested above check if SELinux is enabled, and if it is and you don't need it, disable it either just for vsftpd or all of it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-13-2010 09:35 AM
тАО01-13-2010 09:35 AM
Re: 550 Failed to change directory.
Thanks !!!