1833590 Members
3889 Online
110061 Solutions
New Discussion

FTP permissions problem

 
SOLVED
Go to solution
Philip Dunn_1
Frequent Advisor

FTP permissions problem

Hi,
I've got a really stupid question that I should know the answer too, but its a friday afternoon and i'm too hot, so easy points on offer!

How can I make a file that is FTP'd inherit the permissions from the directory being ftp'd into?
Failing that how do I set the file permissions for all files being FTP'd by a particular user?

Using HPUX 11.11

Thanks

Phil
2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: FTP permissions problem

>>How can I make a file that is FTP'd inherit
>>the permissions from the directory being
>>ftp'd into?

I don't think this is possible.

>>Failing that how do I set the file
>>permissions for all files being FTP'd by a
>>particular user?

You should be able to do this via the /etc/ftpd/ftpaccess file. 'man ftpaccess' for more information.
Philip Dunn_1
Frequent Advisor

Re: FTP permissions problem

Thanks Patrick,
I realised I hadn't set the -u 000 in inetd.conf!

Told you it is a bad Friday.