![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I need to copy file from UNIX to VAX and PROTECTION is allways (RWED,RWED,RE,). I need W:RE. SET PROTECTION=(W:RE)/default doesn't work. SET FILE/PROTECTION=(w:re) does, but is there a way to do it while copying? thanks, toza The Answer is : Assuming that the (unspecified IP package) does not explicitly request a particular protection on the target file, and assuming that the file is being copied to the OpenVMS system from a remote UNIX system via an FTP PUT or MPUT on the UNIX system, the default protection mask (which is altered via the SET PROTECTION=(S:RWED,O:RWED,G:RWED,W:RE)/DEFAULT command) for the FTP server process would be the protection value used for the file creation. If you are using FTP GET or MGET to pull the files from the remote UNIX system to the local OpenVMS system, I would expect that the process-level defaults would be used by FTP, unless FTP is explicitly applying a specific set of file protections. Likely the easiest approach involves setting a default protection ACE or a default identifier ACE on the target directory where the files are being created. The system-wide parameter RMS_FILEPROT can also be used to alter the default protection that would be used by FTP (and all other file creation operations), unless the application requests an explicit protection mask. Please check the version of the IP package, and consider an upgrade to a more recent version, as well as to the associated ECO kit (if any). If this is involving an OpenVMS system running TCP/IP Services for OpenVMS (UCX), please consider contacting the customer support center directly for further assistance.
|