File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Enable multiuser plugin. This makes XRootD to write the files with the
22# ownership of the user that authenticated to the server and not as the
33# 'xrootd' user
4- if exec xrootd
4+ if defined ?~XC_ENABLE_MULTIUSER && exec xrootd
55 ofs.osslib ++ libXrdMultiuser.so
6- else
6+ else if defined ?~XC_ENABLE_MULTIUSER
77 ofs.osslib libXrdMultiuser.so default
88fi
99
10- # Enable the checksum wrapper
11- ofs.ckslib * libXrdMultiuser.so
10+ if defined ?~XC_ENABLE_MULTIUSER
11+ # Enable the checksum wrapper
12+ ofs.ckslib * libXrdMultiuser.so
1213
13- xrootd.chksum max 2 md5 adler32 crc32
14+ xrootd.chksum max 2 md5 adler32 crc32
1415
15- # The checksum plugin that is included in the multiuser can also
16- # checksum while it is writing a file. To turn this on, uncomment the
17- # following line:
18- # multiuser.checksumonwrite on
16+ # The checksum plugin that is included in the multiuser can also
17+ # checksum while it is writing a file. To turn this on, uncomment the
18+ # following line:
19+ # multiuser.checksumonwrite on
20+ fi
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ After=network-online.target
88[Service]
99# Note "-R xrootd" here instructs xrootd to drop privileges to the xrootd Unix user.
1010ExecStart =/usr/bin/cmsd -l /var/log/xrootd/cmsd.log -c /etc/xrootd/xrootd-%i.cfg -k fifo -s /var/run/xrootd/cmsd-%i.pid -n %i -R xrootd
11+ Environment =XC_ENABLE_MULTIUSER =1
1112Type =simple
1213Restart =on-abort
1314RestartSec =0
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ After=network-online.target
88[Service]
99# Note "-R xrootd" here instructs xrootd to drop privileges to the xrootd Unix user.
1010ExecStart =/usr/bin/xrootd -l /var/log/xrootd/xrootd.log -c /etc/xrootd/xrootd-%i.cfg -k fifo -s /var/run/xrootd/xrootd-%i.pid -n %i -R xrootd
11+ Environment =XC_ENABLE_MULTIUSER =1
1112Type =simple
1213Restart =on-abort
1314RestartSec =0
You can’t perform that action at this time.
0 commit comments