Skip to content
Snippets Groups Projects
Commit bb3a0906 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Debian: bring back setgid bit on /var/log/tarantool

Debian allows `adm` members to read logs.
Fedora/RHEL/CentOS don't follow this practice.

See also 93753cd0

Thanks @kostja and @unera for pointing it out.
parent 27847c0f
No related branches found
No related tags found
No related merge requests found
......@@ -18,7 +18,8 @@ case "$1" in
tarantool
fi
install -d -o$SYSUSER -gadm -m750 /var/log/tarantool
# Use setgid to allow `adm` members to read logs
install -d -o$SYSUSER -gadm -m2750 /var/log/tarantool
install -d -o$SYSUSER -g$SYSUSER -m750 /var/run/tarantool
install -d -o$SYSUSER -g$SYSUSER -m750 /var/lib/tarantool
;;
......
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