HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- scp umask 11.23 to 11.31
Operating System - HP-UX
1833883
Members
2091
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 06:13 AM
01-27-2009 06:13 AM
scp umask 11.23 to 11.31
Strange issue. I have an 11.23 box running ssh A.04.50.021 and an 11.31 box running ssh A.04.70.023. There are some scripts that the oracle developers use scp to copy file from the 11.23 box to the 11.31 box. The 11.31 box use to be an 11.11 box running ssh A.04.50.003. They do not use the -p switch when doing the copies. When they copy to the 11.11 box the permissions are 644. But when they copy to the 11.31 box the perms are 600. I have the umask set in the .profile for the user but that has not made a difference. I also changed the system umask via secweb to 0022 and the files still come across as 600. the funny thing is that the verbose scp output on the 11.23 host shows this:
Sending file modes: C0644 9741 x.csv
I would assume that means it's sending it as 0644.
Any ideas?
Sending file modes: C0644 9741 x.csv
I would assume that means it's sending it as 0644.
Any ideas?
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 06:47 AM
01-27-2009 06:47 AM
Re: scp umask 11.23 to 11.31
Hi Court,
Just a quick question, does the oracle dba use bash(.bashrc)?
Robert-Jan
Just a quick question, does the oracle dba use bash(.bashrc)?
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 06:54 AM
01-27-2009 06:54 AM
Re: scp umask 11.23 to 11.31
Negative. POSIX shell.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2009 09:04 AM
01-27-2009 09:04 AM
Re: scp umask 11.23 to 11.31
I found the culprit. PAM. just add bypass_umask to the line:
sshd session required libpam_hpsec.so.1
that will disable looking at UMASK.
sshd session required libpam_hpsec.so.1
that will disable looking at UMASK.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP