Operating System - HP-UX
1751972 Members
4453 Online
108783 Solutions
New Discussion юеВ

Re: problem with ftpaccess

 
felice_2
Occasional Advisor

problem with ftpaccess

Aloa to all,
how can inhibit an ftp user, to create a directory?
thanks to all

Felix
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: problem with ftpaccess

Shalom,

If a user is permitted by not being in the ftpaccess file then they can create directories.

You can with permissions deny them write access to the directory and prevent creates. That would also prevent them however from posting or uploading new files to the server.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
felice_2
Occasional Advisor

Re: problem with ftpaccess

SEP hello,
My problem is this.
I can add a line in / etc / ftpd / ftpacces
which inhibits the creation?
please view example in attachment.

Thank you for everything

Felix
Dennis Handly
Acclaimed Contributor

Re: problem with ftpaccess

>Can I add a line in /etc/ftpd/ftpacces which inhibits the creation?

No, I only see those 5 in ftpaccess(4):
http://docs.hp.com/en/B2355-60130/ftpaccess.4.html
Johnson Punniyalingam
Honored Contributor

Re: problem with ftpaccess

Hi Felice,

Yes You can, Check below Thread,

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

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=356128

Thx,
Johnson
Problems are common to all, but attitude makes the difference
OldSchool
Honored Contributor

Re: problem with ftpaccess

Johnson is correct *IF* you are talking about Anonymous FTP. For a specific user, you may be out of luck