Uploaded image for project: 'StoRM'
  1. StoRM
  2. STOR-113

YAIM should not try to configure user permissions on all storage areas

XMLWordPrintable

      When configuring storm backend with YAIM, it performs a recursive chown on the storage are for a given VO (/opt/glite/yaim/functions/local/config_storm_dir, lines 73-78):

      if [ -d ${dir} ]; then
      yaimlog DEBUG "${FUNCTION}: Recursively set '${STORM_USER}:${STORM_USER}' ownership for ${dir}"; 
      chown -RL ${STORM_USER}:${STORM_USER} ${dir};
      yaimlog DEBUG "${FUNCTION}: Recursively unset world permissions for ${dir}, adding group read permission";
      chmod -R o-rwx,g+r ${dir}
      

      this is unacceptable for sites with already existing large storage areas (1PB in our case!) where permissions and owners of files are already properly configured.

      This kind of behavior of YAIM should be optional, or not done if the storage area pre-exists.

            Unassigned Unassigned
            vventuri Valerio Venturi [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: