- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: files losing execute permissions when transfer...
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
тАО07-20-2008 08:48 AM
тАО07-20-2008 08:48 AM
What do I need to do to retain the original permissions?
Thanks,
Norm
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 09:41 AM
тАО07-20-2008 09:41 AM
Re: files losing execute permissions when transferred with ftp
You can set umask for ftp in /etc/inetd.conf.
e.g. Just add "-u 007" at the end of line ftp. Then run command inetd -C.
And the permission to change the umask is controlled by the file called /etc/ftpd/ftpaccess where umask yes|no typelist
where typelist is a comma-separated list of any of the keywords:
anonymous, guest and real
Have a look at man pages of ftpaccess for more details.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 12:21 PM
тАО07-20-2008 12:21 PM
Re: files losing execute permissions when transferred with ftp
If you need to keep the permissions as they are on the CD, you need to look into some other method to transfer the files.
You could try creating a large zip file on the PC, tranfer it to your Unix server and then unzip it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 12:40 PM
тАО07-20-2008 12:40 PM
SolutionI assume that the HP-UX server was not ordered with a CD/DVD player, thus the reason for the PC source. About the only way to do this is to make an ISO image of the CD on your PC, then ftp the result to your server. You should then be able to mount the local ISO image on the HP-UX system.
Bill Hassell, sysadmin
- Tags:
- ISO image
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 05:19 PM
тАО07-20-2008 05:19 PM
Re: files losing execute permissions when transferred with ftp
Just about the only exceptions are mkdir and ld.
>So ftp won't work.
ftp has a chmod command, if not using mput.
You can also use a script to get and set the original permissions/owner.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1215123
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 07:18 PM
тАО07-20-2008 07:18 PM
Re: files losing execute permissions when transferred with ftp
I guess I will need to do something else to copy the CD Image.
Thanks,
Norm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 07:32 PM
тАО07-20-2008 07:32 PM
Re: files losing execute permissions when transferred with ftp
It seems strange this just isn't one SD depot file. What installation instructions were given?
Nothing as simple as: swinstall -s /cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 03:20 AM
тАО07-21-2008 03:20 AM
Re: files losing execute permissions when transferred with ftp
This uses an install script and has multiple depots.
There are a lot of files and directories that need to be moved. It looks like moving the iso image may be the best bet for remote installs.
Regards,
Norm