Operating System - HP-UX
1834619 Members
3212 Online
110069 Solutions
New Discussion

ftp mget not working on UX11i

 
SOLVED
Go to solution
Eileen Millen
Trusted Contributor

ftp mget not working on UX11i

On our UX11i system, we can use ftp to get individual files. mget works for root.
When users try to use mget on files with
permissions set to 777 on both source and destination, they get

/var/tmp/ftpa29654: permission denied
can't find list of remote files: No such file or directory

Any ideas what is the problem?
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: ftp mget not working on UX11i

It sounds like it is trying to write a temp file to /var/tmp.

Check the permissions on that directory and make sure that it is writeable by everyone (777).

You might also check and see if a file with the name it gives, ftp...., exists and if so remove it, or see if it is writeable by everyone.

A. Clay Stephenson
Acclaimed Contributor
Solution

Re: ftp mget not working on UX11i

Hi Eileen:

The only way I could reproduce your problem was to set umask to 777 before starting the ftp client. I then got your exact error message. Set your umask to a more reasonable value like 022 or 002 and I think you will be fine.

Clay
If it ain't broke, I can fix that.
Ravi_8
Honored Contributor

Re: ftp mget not working on UX11i

Hi,
I agree with clay, by setting the umask to 022 will solve this problem, still if you get the same error check ftp.allow file whether that user has the permission to do ftp.
never give up
Eileen Millen
Trusted Contributor

Re: ftp mget not working on UX11i

Thanks for your help.
We set the umask in the .profile file.
umask 027

When I entered umask 005 at the shell and then go into ftp, the mget works.
It might be a group not matching issue.
The UID is the same, the GID was not.

Eileen