Skip to content
Snippets Groups Projects
Commit ae66435c authored by Jameson Rollins's avatar Jameson Rollins
Browse files

support: set umask 0002 for rtcds and epics service

This should make sure that all files created by these commands (e.g. in
/opt/rtcds/...) are created group writable permission.

closes #90
parent c0108275
No related branches found
No related tags found
1 merge request!80support: set umask 0002 for rtcds and epics service
......@@ -38,6 +38,10 @@ USER_VARS=(SITE IFO RCG_LIB_PATH)
LIST_VARS=(RTS_VERSION ${USER_VARS[@]} RCG_SRC RCG_BUILDD RCG_TARGET)
EXPORT_VARS=(${USER_VARS[@]} site ifo CDS_SRC CDS_IFO_SRC)
# set the umask to ensure that all files and directories are made
# group writable
umask 0002
##################################################
check_env() {
......
......@@ -4,4 +4,5 @@ PartOf=rts@%i.target
[Service]
User=advligorts
Umask=0002
ExecStart=/usr/bin/rts_epics_exec %i
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment