Browse Source

chg: [odoo-tecnativa] init is now quicker because only files requiring changes are chowned.

framadate
Valentin Lab 6 years ago
parent
commit
299d6c0511
  1. 3
      odoo-tecnativa/hooks/init

3
odoo-tecnativa/hooks/init

@ -21,5 +21,4 @@ odoo_uid=$(get_odoo_uid)
mkdir -p "$LIB"
## XXXvlab: this one can fail if files are removed (from sessions dir)
chown -R "$odoo_uid" "$LIB" || true
# setfacl -R -m "u:$odoo_uid:rx" "/opt/apps/0k-oe"
find "$LIB" \! -user "$odoo_uid" -exec chown -v "$odoo_uid" {} + || true
Loading…
Cancel
Save