Operating System - HP-UX
1833758 Members
2544 Online
110063 Solutions
New Discussion

Anonymous FTP: Can not get into the created folder

 
SOLVED
Go to solution
Shen Yang
Occasional Contributor

Anonymous FTP: Can not get into the created folder

Hello, All:

I am using Anonymous FTP and I like to create sub folders under incoming. I had no problem to create folders, however, I can not open the folders I created after I login in as anonymous. It says "permission denied". If you like at the permission of sub folders, it is 666. Does anybody know how to fix this problem?

Thanks.

Shen
3 REPLIES 3
Dave Hutton
Honored Contributor

Re: Anonymous FTP: Can not get into the created folder

A lot of customizations are done with the ftpaccess file.

Theres a generic one in:
/usr/newconfig/etc/ftpd/examples

This file defines different aspects of ftp.

Dave
Hoefnix
Honored Contributor
Solution

Re: Anonymous FTP: Can not get into the created folder

I am not sure but don't you need execute permission to change to the sub-directory?

Regards,

Peter
Michael Schulte zur Sur
Honored Contributor

Re: Anonymous FTP: Can not get into the created folder

Hi,

Peter is right. According to man ftpd:
~ftp/pub)
Create a subdirectory in ~ftp/pub with the appropriate mode (777 or 733) if you want to allow normal users to upload files.

You will have to specify -u umask to let the user create a dir, he can enter.

greetings,

Michael