Skip to content

Commit 59ae453

Browse files
committed
Fix file permissions
1 parent 52e7cec commit 59ae453

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

osgtest/tests/test_150_xrootd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ def test_01_start_xrootd(self):
7777
chown=(user.pw_uid, user.pw_gid))
7878
xrootd_config = XROOTD_CFG_TEXT % sec_protocol
7979

80-
files.write(core.config['xrootd.config'], xrootd_config, owner='xrootd', backup=True)
80+
files.write(core.config['xrootd.config'], xrootd_config, owner='xrootd', backup=True, chmod=0o644)
8181

8282
if core.el_release() < 7:
8383
files.write(core.config['xrootd.service-defaults'],
8484
'XROOTD_DEFAULT_OPTIONS="-l /var/log/xrootd/xrootd.log -c /etc/xrootd/xrootd-standalone.cfg -k fifo"',
85-
owner="xrootd", chown=(user.pw_uid, user.pw_gid))
85+
owner="xrootd", chown=(user.pw_uid, user.pw_gid), chmod=0o644)
8686

8787
authfile = '/etc/xrootd/auth_file'
8888
files.write(authfile, AUTHFILE_TEXT, owner="xrootd", chown=(user.pw_uid, user.pw_gid))

0 commit comments

Comments
 (0)