home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls036.1.Z / tls036.1 / usr / man / cat.SMT / mkperm.SMT.z / mkperm.SMT
Encoding:
Text File  |  1992-09-15  |  6.8 KB  |  181 lines

  1.  
  2.  
  3.  mkperm(SMT)                          .                           mkperm(SMT)
  4.  
  5.  
  6.  
  7.  _N_a_m_e
  8.  
  9.     mkperm - make a product permissions list (permlist)
  10.  
  11.  _S_y_n_t_a_x
  12.  
  13.     mmkkppeerrmm [--pp _pppp_rrrr_dddd_vvvv_aaaa_llll_uuuu_eeee] [--ss "_ssss_eeee_tttt_ssss_tttt_rrrr_iiii_nnnn_gggg"] [--tt _tttt_yyyy_pppp_eeee] [--rr _rrrr_eeee_llll_eeee_aaaa_ssss_eeee] [--SS "_ssss_eeee_rrrr_iiii_aaaa_llll_----
  14.     _iiii_zzzz_eeee_dddd _ffff_iiii_llll_eeee_ssss"] [--oo _oooo_uuuu_tttt_pppp_uuuu_tttt _ffff_iiii_llll_eeee] [--OO _dddd_iiii_ssss_tttt _dddd_iiii_rrrr_eeee_cccc_tttt_oooo_rrrr_yyyy] [--xx _vvvv_oooo_llll_pppp_rrrr_eeee_ffff_iiii_xxxx] [--DD _dddd_iiii_rrrr_----
  15.     _ffff_iiii_llll_eeee] [_pppp_kkkk_gggg_dddd_iiii_rrrr _PPPP_KKKK_GGGG_NNNN_AAAA_MMMM_EEEE "_pppp_kkkk_gggg_dddd_eeee_ssss_cccc" [_pppp_kkkk_gggg_dddd_iiii_rrrr_2222 _PPPP_KKKK_GGGG_NNNN_AAAA_MMMM_EEEE_2222 "_pppp_kkkk_gggg_dddd_eeee_ssss_cccc_2222" ... ]]
  16.  
  17.  _D_e_s_c_r_i_p_t_i_o_n
  18.  
  19.     mmkkppeerrmm creates a permlist from a directory hierarchy.  This utility is
  20.     called by ddooccuutt(SMT).  The resultant permlist is suitable as input for
  21.     the mmkkccuuttss utility.
  22.  
  23.     The following is a list of required values.  If not specified on the com-
  24.     mand line, they are read from the appropriate environment variables.  If
  25.     a required value is not present on the command line or in the environ-
  26.     ment, mmkkppeerrmm gives an error message.
  27.  
  28.     _pppp_rrrr_dddd_vvvv_aaaa_llll_uuuu_eeee:   abbreviated product name; example: _p_r_o.  Default value is
  29.                 $$PPRROODDPPRRDD.
  30.  
  31.     _ssss_eeee_tttt_ssss_tttt_rrrr_iiii_nnnn_gggg:  name of the full set or application; example: _S_C_O _P_r_o_f_e_s_-
  32.                 _s_i_o_n_a_l.  Default value is $$PPRROODDSSEETT.
  33.  
  34.     _tttt_yyyy_pppp_eeee:       target system.  Default value is $$PPRROODDTTYYPP.
  35.  
  36.     _rrrr_eeee_llll_eeee_aaaa_ssss_eeee:    release number of the product.  Default value is $$PPRROODDRREELL.
  37.  
  38.     _pppp_kkkk_gggg_dddd_iiii_rrrr:     root directory path for a given package
  39.  
  40.     _PPPP_KKKK_GGGG_NNNN_AAAA_MMMM_EEEE:    name of the package associated with ppkkggddiirr
  41.  
  42.     _pppp_kkkk_gggg_dddd_eeee_ssss_cccc:    description of the package
  43.  
  44.     If _pppp_kkkk_gggg_dddd_iiii_rrrr, _PPPP_KKKK_GGGG_NNNN_AAAA_MMMM_EEEE, and _pppp_kkkk_gggg_dddd_eeee_ssss_cccc are not given on the command line, they
  45.     are taken from the variables BBAASSEEPPAACCKKDDIIRR,, BBAASSEEPPAACCKKNNAAMMEE,, and BBAASSEEPPAACCKKDDEESSCC.
  46.  
  47.     The --SS option sets the permlist variable sseerr, which lists the names of
  48.     serialized files.  If the --SS option is not given, the SSEERRIIAALLIIZZEE environ-
  49.     ment variable is used.  If this is not set, a default value of "" (zero-
  50.     length string) is used.
  51.  
  52.     The --xx option specifies prefix letters for the volume number field in the
  53.     permlist.  (This is mainly used for updates, and for the N, B, and X vol-
  54.     umes of the OS.)  If the --xx option is not given, the value of the
  55.     environment variable VVOOLLPPRREEFFIIXX is used.  If this is not set, no prefix
  56.     letters are used.
  57.  
  58.     If an output filename of ``-'' is given with the --oo option, the permlist
  59.     output is written to ssttddoouutt.  If the --oo option is not given, the permlist
  60.     output is written to $$DDIISSTTDDIIRR//$$PPEERRMMLLIISSTT with a default value of
  61.     ./_d_i_s_t/_t_m_p/_p_e_r_m_s/_pppp_rrrr_dddd_vvvv_aaaa_llll_uuuu_eeee.
  62.  
  63.     The --OO option specifies the root directory of the _dddd_iiii_ssss_tttt_rrrr_iiii_bbbb_uuuu_tttt_iiii_oooo_nnnn _tttt_rrrr_eeee_eeee,
  64.     which holds all the files to be copied onto the distribution media.
  65.     mmkkppeerrmm creates this tree by making links to the appropriate files under
  66.     the package directories.  If a value of ``-'' is given with the --OO
  67.     option, this action is turned off; no links are made, and the distribu-
  68.     tion tree is not created.  If the --OO option is not given, the directory
  69.     name is taken from the DDIISSTTDDIIRR environment variable, with a default value
  70.     of ./_d_i_s_t
  71.  
  72.     Note that the ffiixxppeerrmm --cc command must be run on the distribution tree
  73.     before cutting the distribution media.  This is necessary to set owner-
  74.     ship and permissions, ensure that all links are made, and to create all
  75.     directories and devices listed in the permlist.  (This is done automati-
  76.     cally if mmkkccuuttss is used.)
  77.  
  78.     The --DD option controls which directories are listed in the permlist.
  79.     Without it, by default, mmkkppeerrmm omits from the created permlist any direc-
  80.     tories that are already listed in the operating system permlists (for
  81.     example, ./_e_t_c, ./_u_s_r, ./_u_s_r/_b_i_n).  This is to ensure that ccuussttoomm-
  82.     installable applications do not change the ownership/permissions on OS
  83.     directories when installed.  If this behavior is not appropriate (for
  84.     example, when producing a permlist for an OS component) the --DD option can
  85.     specify a file that lists the directories to be omitted from the created
  86.     permlist.  The directories should be listed in the file one per line,
  87.     without surrounding whitespace.  (This is the same format as the output
  88.     of ffiixxppeerrmm --DD.) Specifying a filename of ``-'' with the --DD option makes
  89.     mmkkppeerrmm include all directories in the created permlist, without omitting
  90.     any.
  91.  
  92.  _N_o_t_e_s
  93.  
  94.     mmkkppeerrmm must be run from the _r_o_o_t login.
  95.  
  96.     Any files whose uid or gid name cannot be determined are inherited by
  97.     _r_o_o_t.
  98.  
  99.  _F_i_l_e_s
  100.  
  101.     /_e_t_c/_f_i_x_p_e_r_m
  102.  
  103.  _S_e_e _a_l_s_o
  104.  
  105.     ddooccuutt(SMT), ffiixxppeerrmm(ADM), ffiixxppeerrmm(M), mmkkccuuttss(SMT)
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.