- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File permissions problem after transfering files f...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО02-24-2010 12:14 AM
тАО02-24-2010 12:14 AM
As per subject above;
The current situation:
The files was successfully transferred to HPUX machine from Windows via SCP and SFTP, but the file permissions given on HPUX was 600 -rw-------
What I want to achieve:
The successfully transferred files should have at least a 660 file permission -rw-rw---- in HPUX machine
Here are my current settings:
1. umask is now set to 007 in /etc/profile, /etc/csh.login, /etc/d.profile, /etc/d.login
2. previously the umask was set to 027
3. i'm currently using HPUX 11.23 version
4. the server is configured as trusted mode
How do I go about resolving this issue?
Your help is very much appreciated. Tqvm
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 12:17 AM
тАО02-24-2010 12:17 AM
Re: File permissions problem after transfering files from Windows to HPUX via SCP & SFTP
http://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 05:26 PM
тАО02-24-2010 05:26 PM
Re: File permissions problem after transfering files from Windows to HPUX via SCP & SFTP
Any more ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 05:43 PM
тАО02-24-2010 05:43 PM
SolutionIf you specify:
SftpUmask 007
in the sshd_config file and then stop and restart the SSH daemon, I think this should do what you want.
Have a look at the sshd_config man page for more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 10:37 PM
тАО02-24-2010 10:37 PM
Re: File permissions problem after transfering files from Windows to HPUX via SCP & SFTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2010 10:42 PM
тАО02-24-2010 10:42 PM