Operating System - HP-UX
1829753 Members
2768 Online
109992 Solutions
New Discussion

file permission - using ftp

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

file permission - using ftp

Hi!

I am putting files using ftp to my server HP9000 with HP-UX 11.0. These files have permission -rw-r----- , i need all permission in this file when i put i n may sever. I changed umask on .profile but doesnt work. Somebody can helpme!
2 REPLIES 2
Sundar_7
Honored Contributor
Solution

Re: file permission - using ftp

.profile will not be used for ftp logins.

Edit /etc/inetd.conf and remove -u option from ftpd

# vi /etc/inetd.conf
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 022

to

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l
#

Save and quit

# inetd -c

now try ftp. now files will get the permission rw-rw-rw-.
Learn What to do ,How to do and more importantly When to do ?
Edwin Ruiz_2
Super Advisor

Re: file permission - using ftp

Thanks! i invert the lines.. all is working.. thanks!