07-20-2008 08:48 AM
What do I need to do to retain the original permissions?
Solved! Go to Solution.
07-20-2008 09:41 AM
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.
07-20-2008 12:21 PM
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.
07-20-2008 12:40 PM
I 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.
07-20-2008 05:19 PM
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.
07-20-2008 07:32 PM
It seems strange this just isn't one SD depot file. What installation instructions were given?
Nothing as simple as: swinstall -s /cdrom
07-21-2008 03:20 AM
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.