Skip to content

Commit

Permalink
Merge pull request #45 from EESSI/fix_permissions
Browse files Browse the repository at this point in the history
Change permissions on cvmfs-config files from 755 to 644
  • Loading branch information
boegel authored Oct 29, 2020
2 parents d8a32bd + 667b97a commit 49d2c68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stratum0-deploy-cvmfs-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
copy:
content: "{{ item.key }}"
dest: "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}{{ item.path }}"
mode: "755"
mode: "644"
with_items: "{{ eessi_cvmfs_keys }}"

- name: create contacts file
copy:
content: "{{ eessi_email }}\n"
dest: "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/contact/{{ eessi_cvmfs_config_repo.domain }}"
mode: "755"
mode: "644"

- name: create domain configuration file
copy:
Expand All @@ -40,15 +40,15 @@
CVMFS_KEYS_DIR="/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/keys/{{ eessi_cvmfs_config_repo.domain }}"
CVMFS_USE_GEOAPI="{{ eessi_cvmfs_server_urls[0].use_geoapi | default(false) | ternary('yes', 'no') }}"
dest: "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/domain.d/{{ eessi_cvmfs_config_repo.domain }}.conf"
mode: "755"
mode: "644"

- name: create default CVMFS configuration file
copy:
content: |
# For reference see https://sft.its.cern.ch/jira/browse/CVM-878
CVMFS_LOW_SPEED_LIMIT=10000
dest: "/cvmfs/{{ eessi_cvmfs_config_repo.repository.repository }}/etc/cvmfs/default.conf"
mode: "755"
mode: "644"

- name: publish CVMFS transaction
command: cvmfs_server publish "{{ eessi_cvmfs_config_repo.repository.repository }}"
Expand Down

0 comments on commit 49d2c68

Please sign in to comment.