On 6 February 2021 at 15:17, Sébastien Villemot wrote: | Le samedi 06 février 2021 à 08:12 -0600, Dirk Eddelbuettel a écrit : | | > # edd 03 Apr 2003 cf Section 10.1.2 of Debian Policy | > # edd 06 Feb 2021 #982069, with a nod to Python's debian/PVER-minimal.postinst.in | > if [ -e /etc/staff-group-for-usr-local ]; then | > perm=2775 | > group=staff | > else | > perm=775 | | Actually it should be 755.
I followed the file you pointed at as reference! Maybe you want to file a bug report there? | > group=root | > fi | > if [ ! -e /usr/local/lib/R ]; then | > mkdir -p /usr/local/lib/R 2> /dev/null || true | > chmod 2775 /usr/local/lib/R 2> /dev/null || true | > chown root:staff /usr/local/lib/R 2> /dev/null || true | | You want to remove the two lines above (especially because chown 755 | does not remove the setgid bit). Ditto. Both done. Dirk | > chmod $perm /usr/local/lib/R 2> /dev/null || true | > chown root:$group /usr/local/lib/R 2> /dev/null || true | > fi | > localsitelibrary=/usr/local/lib/R/site-library | > if [ ! -e $localsitelibrary ]; then | > mkdir -p $localsitelibrary 2> /dev/null || true | > chmod 2775 $localsitelibrary 2> /dev/null || true | > chown root:staff $localsitelibrary 2> /dev/null || true | | Ditto | | > chmod $perm $localsitelibrary 2> /dev/null || true | > chown root:$group $localsitelibrary 2> /dev/null || true | > fi | | Thanks, | | -- | ⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot | ⣾⠁⢠⠒⠀⣿⡁ Debian Developer | ⢿⡄⠘⠷⠚⠋⠀ https://sebastien.villemot.name | ⠈⠳⣄⠀⠀⠀⠀ https://www.debian.org | | [DELETED ATTACHMENT signature.asc, application/pgp-signature] -- https://dirk.eddelbuettel.com | @eddelbuettel | [email protected]

