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. > 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). > 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
signature.asc
Description: This is a digitally signed message part

