- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ftp user can not view files
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
Forums
Discussions
Discussions
Discussions
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
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
10-04-2002 06:43 AM
10-04-2002 06:43 AM
The ftp account has ownership of all directories and files.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 06:49 AM
10-04-2002 06:49 AM
Re: ftp user can not view files
If the '-a' option is used, there is probably an incorrect permissions setup in /etc/ftpd/ftpaccess.
is there the code /./ somewhere in the User's home directory?
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 06:50 AM
10-04-2002 06:50 AM
Re: ftp user can not view files
A question comes to mind. What do you see when you are in the root dir? Check the /etc/passwd directory to see what the home dir field is set to. I'm wondering if this ftp user is setup in a chrooted environment.
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 06:55 AM
10-04-2002 06:55 AM
Re: ftp user can not view files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 07:07 AM
10-04-2002 07:07 AM
SolutionI.E.
user home is /home/ftp/./
You must create a bin directory for the ftpuser.
%mkdir /home/ftp/bin
inside there, you will need static linked binary for ls.
%cp -p /sbin/ls /home/ftp/bin
you will also need to link this to dir from the base directory.
% cd /home/ftp/bin
% ln -s ./ls ./dir
This should fix the problem.
Regards
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 07:19 AM
10-04-2002 07:19 AM
Re: ftp user can not view files
Share and Enjoy! Ian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 07:36 AM
10-04-2002 07:36 AM
Re: ftp user can not view files
Make sure that the files you are attempting to access are located in a subdir (i.e. ~ftp/pub) with appropriate permissions in order to access the data when you initiate your ftp.
Mike-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 07:44 AM
10-04-2002 07:44 AM
Re: ftp user can not view files
you will also need to link this to dir from the base directory.
% cd /home/ftp/bin
% ln -s ./ls ./dir
I am confused. What do you mean by this dir above?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 07:49 AM
10-04-2002 07:49 AM
Re: ftp user can not view files
The /home/ftp/etc directory does not need to exist nor contain the passwd group file is used only to show names for UID/GID's in and FTP environment, and not required. (looks purdy is all).
Michael,
If a user has read/execute on directories and read access on files they can transfer the data they need. Personal opinion on anonymous FTP servers is that pub is used for public areas. Historically this was originally dist and pub was for upload. Personal preference is all. If i was in a bad mood a user may have to get their data from /home/ftp/antidisestablishmentarianism
as long as there were 500 permissions on the directory and the user owned it it works just fine.
Author,
Ensure that permissions on directories are 555 and files 400 for the user, binaries need to be minimum 500 for user to execute.
I know there is a ton of threads related to FTP configuration on the site. I myself have published 2 FAQ's for both secure and insecure FTP using both wu-ftp and proftp.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 08:00 AM
10-04-2002 08:00 AM
Re: ftp user can not view files
I can see them now!! You guys and girls did an excellent job!! Thank you so much!!!and have a SUPER GREAT WEEKEND!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2002 08:20 AM
10-04-2002 08:20 AM
Re: ftp user can not view files
I only used ~ftp/pub as an example for a directory where files would be stored on an incoming ftp into the chrooted environment, hence the i.e. in front.... In my shop, I actually create a separate directory for every incoming ftp that uses the chrooted environment, this way, I keep things nice and orderly...
However, Thanx for the info..
Mike-