- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Permission changed after sftp
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
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
тАО09-22-2009 03:55 AM
тАО09-22-2009 03:55 AM
Permission changed after sftp
Hi ,
When I am transferring a file with permission 644 from Source Server, the permission changes to 600 on the Destination Server.
On Destination Server I tried setting the umask in my profile but still the permissions reamain 600 after file transfer.
There is a setting in sshd_config file "SftpUmask". But I dont want to use this as it will be applicable to all other users using sftp ..
How do i Achieve this if I want the permission to be same as that on Source Server.
Please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2009 04:03 AM
тАО09-22-2009 04:03 AM
Re: Permission changed after sftp
Just a thought,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2009 04:17 AM
тАО09-22-2009 04:17 AM
Re: Permission changed after sftp
Does that mean that this cannot be achieved by default.
Is it mandatory to execute chmod to change the permissions.??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2009 04:26 AM
тАО09-22-2009 04:26 AM
Re: Permission changed after sftp
Use /etc/ftpd/ftpaccess
upload /home/user1 /path/to/upload/dir yes user1 group1 0666
file: any written to /home/user1 dir
user: user1
group: group1
perm of an file in /home/user1: 066
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2009 05:31 AM
тАО09-22-2009 05:31 AM
Re: Permission changed after sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2009 06:04 AM
тАО09-22-2009 06:04 AM
Re: Permission changed after sftp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2009 06:55 AM
тАО09-22-2009 06:55 AM
Re: Permission changed after sftp
umask 027, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2009 11:14 AM
тАО09-23-2009 11:14 AM