- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- file permissions after ftp
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
Forums
Discussions
Discussions
Discussions
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
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
05-24-2001 01:59 AM
05-24-2001 01:59 AM
While doing ftp to transfer a file,the permission of the file gets changed.
Is there any way to keep the same permission
as of the source file ?
Thanks
Animesh
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 02:07 AM
05-24-2001 02:07 AM
Re: file permissions after ftp
If a "copy" of the source file exists at the destination then the ownerships and permissions will be that of the "copy". In some situations it is possible to create an empty (null) file with the desired permissions and then replace it via ftp.
In other situations you might use 'rcp -p' to remotely copy and preserve permissions.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 04:06 AM
05-24-2001 04:06 AM
Re: file permissions after ftp
#ftp ....
#tar xv ftp.tar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2001 04:22 AM
05-24-2001 04:22 AM
Re: file permissions after ftp
For more flexibility in transferring files you may want to use the rcp command, which is part of the BERKLEY commands. By using the rcp -p option you maintain owner/permissions with the file. Just remember to use the 'r' commands you need to set up for remote connection (.rhosts).
Regards,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2001 12:17 AM
05-25-2001 12:17 AM
SolutionIf you want changed permissions after the transfer, config this line in the /etc/inetd.conf :
ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l -u 022 -t300
RGds
Alexander M. Ermes