Salesforce

Unable to use -U and -G options with TCMAN create or PASMAN create

« Go Back

Information

 
TitleUnable to use -U and -G options with TCMAN create or PASMAN create
URL NameUnable-to-use-U-and-G-options-with-tcman-create-or-pasman-create
Article Number000182338
EnvironmentProduct: OpenEdge
version: 11.6, 11.7.0, 11.7.1, 11.7.2, 11.7.3, 11.7.4
OS: All supported platforms
Other: TCMAN PASMAN
Question/Problem Description
When creating a new PASOE instance access rights cannot be set with with TCMAN or PASMAN create -U -G

The parameters -U and -G for tcman(pasman) do not work when creating a PASOE instance
  • Unable to use -U and -G options with tcman create
  • Unable to use -U and -G options with pasman create
When using the -U and -G options with tcman/pasman create:
  • On Windows the -U and -G options are ignored
  • On Linux the -U option an error is returned: Unknown option: U 
Steps to Reproduce
Clarifying Information
Using the -U option to specify the user-id of the owner of all the files and directories of the instance
Using the -G option to specify the group-id of the owner of all the files and directories of the instance
Error MessageOn Linux:
$DLC/servers/pasoe/bin/tcmanager.sh -U -P: illegal option -- U
$DLC/servers/pasoe/bin/tcman.sh create -U -P: Unknown option: U usage: oeabl_tailor.sh
$DLC/servers/pasoe/bin/pasman create -U -P : Unknown option: U oeabl_tailor.sh
Defect NumberDefect ADAS-7884
Enhancement Number
Cause
The tcmanager script doesn't handle -U and -G in the list of valid command line options to set file/directory ownership.
Resolution
Upgrade to OpenEdge 11.7.5,  12.1 or later where creating a new PASOE instance no longer errors when the user (-U) and group (-G) are specified to set the permissions of all the files and directories of the instance.
Workaround
1.  A PASOE instance can be run as a non-root user: 2. Operations that operators are allowed to perform on the PASOE instance in the OE Console can be configured in the Operator Role 3. On UNIX, the permissions of the files generated by PAS OE can be changed to requirement:
Notes
References to Other Documentation:

Progress Application Server for OpenEdge Configuration, TCMAN Reference : Server actions : Create an instance (create)
https://documentation.progress.com/output/ua/OpenEdge_latest/index.html#page/ompas%2Fcreate-an-instance-(create).html%23   
 
Keyword Phrase
Last Modified Date11/20/2020 7:00 AM

Powered by