Skip to content

Commit

Permalink
radicale: fix permissions post-install
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyx committed Mar 23, 2024
1 parent e89f710 commit cde58da
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions srcpkgs/radicale/INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# *-*-shell-*-*
#
case ${ACTION} in
post)
# fix permissions and owners
chown radicale:radicale /etc/radicale/config
chown radicale:radicale /etc/radicale/rights
chmod 644 /etc/radicale/config
chmod 640 /etc/radicale/rights
;;
esac

2 changes: 1 addition & 1 deletion srcpkgs/radicale/template
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ conf_files="
make_dirs="
/etc/radicale 755 root root
/usr/share/radicale/ 755 root root
/var/log/radicale/ 700 root root
/var/log/radicale/ 750 radicale radicale
/var/lib/radicale 750 radicale radicale"
system_accounts="radicale"
radicale_homedir="/var/lib/radicale"
Expand Down

0 comments on commit cde58da

Please sign in to comment.