Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Guest FTP access

Status
Not open for further replies.

RobHoyer

IS-IT--Management
Dec 31, 2004
5
CA
I setup my SCO Openserver 5.0.7 box to allow guest access via the FTP server following SCO TA# 109467. Security and access are working great but the guest users cannot see thier folders or files. They can create new folders and change to the folder, they can get and put files but the LIST command responds as working but no information is displayed. Any thoughts?
 
the chmod 111 on usr directory indicates in the doc
Users are then not able to see the contents of these directories.

Probably setting to 511 will work.



 
I tried changing usr to 511 and then 555 I also changed the group of usr to guests but still no files visible.
Any other ideas?
 
how about 755, what is the directory structure in regards to root?
 
I changed every directory in /storage/guests to 777 still no file listing.

The directory structure is as follows:

/storage : mounted files system
chmod: 777 owner: root group: bin

/storage/guests: the chroot directory
chmod: 755 owner: root group: root

/storage/guests/X: other usrer directories under the guest user
chmod / owner / group: and As per TA# 109467

I think it relates to the coping of the ls file to /storage/guests/bin maybe I need other files form /bin?

Thanks for your help.
 
Have you followed all the suggestions under the chapter Anonymous FTP in the ftpd man page ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I am not sure I understand your question?
I don't use nfs (network file system) on this server.
The file system type is a HTFS and is in /etc/default/filesys.

I hope I answered you correctly.

Thanks.
 
Have you read the ftpd man page ?
Pay attention to the needed libraries for a working ls.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
From the man pages of the SCO documentation the following libaries are required:

~ftp/usr/lib
Make this directory owned by root and unwritable by anyone.

~ftp/usr/lib/libc.so.1

~ftp/usr/lib/libsocket.so.1

~ftp/usr/lib/libsocket.so.2

~ftp/usr/lib/libresolv.so.1
Copy /usr/lib/libc.so.1, /usr/lib/libsocket.so.1, /usr/lib/libsocket.so.2, and /usr/lib/libresolv.so.1 to this location to support ~ftp/bin/ls.


I added the missing 2 from TA # 109467 and the ls command works.

I have email SCO to update the Technical Article.

Thanks to PHV for help

:-D

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top