Operating System - HP-UX
1836483 Members
2160 Online
110101 Solutions
New Discussion

Permission (umask) for ftp

 
SOLVED
Go to solution
Federico_28
Occasional Contributor

Permission (umask) for ftp

Ciao,
we are sendig some files via ftp from a Windows Server 2003 to a HP-UX 11.00 and everytime our permission are changing to rw-r-

We woul like to keep the same permission we have before starting the ftp.
Is there something I should do on unix server regarding ftp?
Regards

3 REPLIES 3
Stf
Esteemed Contributor
Solution

Re: Permission (umask) for ftp

Hello,

when you connect in ftp on unix machine, the first things you have to do is typing 'bin'.

otherwise check your umask in your user's .profile on unix machine

Stf ;-)
Ralph Grothe
Honored Contributor

Re: Permission (umask) for ftp

I would think it depends on the sort of FTP server you are using, and how you configured the upload directories.
For instance for the HP-UX vanilla FTP server have a look at "man ftpaccess" and the upload directive.
Madness, thy name is system administration
Fred Ruffet
Honored Contributor

Re: Permission (umask) for ftp

You should also be aware that, as a default, ftp removes execution permissions. It is to prevent anybody to put a mailicious file, replacing a command...

You can use -u option for ftpd in inetd conf, but think about security problems.

Regards,

Fred
--

"Reality is just a point of view." (P. K. D.)