Craig Sharp
asked on
scp file to HPUX 11.31 box generating perms 600 and should be 644
We are trying to scp a file from an 11.11 system to an 11.31 system. We have multiple 11.31 system that properly produce file permissions on the new file of 644. There is one system 11.31 that produced permissions of 600. Knowing that this is a similar load of 11.31 to our other systems, this makes no sense. The default profile has umask 0. Also we know that scp does not use a profile as it does not source the profile of the user or the default profile.
I have compared the sshd_config and ssh_config files to other systems and find no difference.
I have also tried SftpUmask in sshd_config with no luck.
How do I get the 11.31 receiving system to produce the proper 644 permissions?
The system is running HP-UX Secure Shell-A.04.70.011
I have compared the sshd_config and ssh_config files to other systems and find no difference.
I have also tried SftpUmask in sshd_config with no luck.
How do I get the 11.31 receiving system to produce the proper 644 permissions?
The system is running HP-UX Secure Shell-A.04.70.011
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
does anything change if you use the -p option?
regards,
seth
regards,
seth
ASKER
HP changed the default umask in 11.31 to create perms 600. I have no idea if they are going to change it back by patch, but a lot of users are having issues.
ASKER