Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 349
  • Last Modified:

SCO Openserver 5.0.5 ftp user cannot see any files or cd out of his home directory

I have a system running SCO Openserver 5.0.5 and a user who needs to ftp some files from it to his Windows XP system.

From a command prompt on his XP system he can ftp to the SCO box, provide his user name/password & he lands in his home directory (/u/lem) but he is unable navigate out of (above) his home directory to get to the directory where the files he needs are located.  Also, once he connects to the server, if he types "ls" at the ftp prompt, it lists the files in his home directory, but if he types "dir" it lists nothing.  This seems strange.  If he does "pwd" at the ftp prompt it reports that the current directory is "/" although uploading a test file reveals that the file lands in /u/lem, as expected.
He wants to use ws-ftp as his ftp client, and testing it, it connects fine, but he is still "trapped" in his home directory and cannot, for example, cd to /u/source to retrieve files or even list the files that are there.  It also does not show any files in his home directory.   So when he tries "cd /u/source" it fails because there is no /u/source UNDER /u/lem.

The permissions on /u are drwxrwxrwx.  There is a /u/source directory.  Same permissions.

Connecting to the server as root of course all files & directories are visible & I can navigate up and down the directory tree with no problem.

I need him to be able to navigate up through the directory tree to find the files he needs, without giving him root access.

Thanks in advance for any help.
1 Solution
This is chroot facility of FTP server.

telnet to your server port 21 and type following commands:

USER username
PASS password

And post responses.
vancelxixAuthor Commented:
Thanks for your response.  Actually, I've already solved this problem...it turned out that the user was a member of several groups, including "guests" so when he connected to the ftp server it treated him as a guest user instead of a real user.  I removed him from the guests group and everything is working as it should now.

Even though I have solved this problem, in consideration of your taking the trouble to respond and attempt to help, I am going to accept your answer and award you the points.  Thanks.

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now