On 1 February 2006 at 00:33, Greg Kochanski wrote: | Dirk Eddelbuettel wrote: | > On 31 January 2006 at 21:54, Greg Kochanski wrote: | > | Sorry. Lost my temper for a moment. | > | > No apologies needed. I tend to be fairly kurt with bug reports, but I do this | > as a volunteer so nobody pays me to hold your hand either. | > | > | Yes, it was a user error. What makes you believe that | > | prevents it from being a bug? | > | > I'm all for better documentation and patches, but it is no help for me that | > you just sit over there and complain "oh, it didn't let write a file" when we | > both know you don't have write perms for the directory. | > | > /usr/local is a funny beast as Debian actually guarantees it will __not__ | > create any files there. All that packages do is create empty directories for | > eg Emacs elisp, or R packages, or what have you. | > | > So if you have a concrete suggestion for the Debian case, let me know. Or if | > you have an upstream patch, show it to R-devel. | | | | Yes, I did have a concrete suggestion, and it was in my bug report. | | The group "staff" is designed for that particular purpose.
Doesn't buy you a lunch either as "staff" is by default empty. Chicken, meet Egg. We could make group staff, and I guarantee that someone would file a bug report suggesting we make it another group. Can't win those. Moreover, as I alluded to Policy, I am not even sure we set those. But then looking there it seems we do: [EMAIL PROTECTED]:~/src/quantian$ ls -l /usr/local/lib/ total 24 drwxr-xr-x 2 root root 4096 2005-06-12 11:10 firmware drwxrwxr-x 3 root root 4096 2005-09-04 20:31 perl drwxrwsr-x 3 root staff 4096 2005-10-08 15:18 python2.4 drwxrwsr-x 3 root staff 4096 2005-10-29 09:56 R drwxrwsr-x 3 root staff 4096 2005-05-28 08:24 texmf drwxr-xr-x 12 root root 4096 2005-12-20 22:08 vmware (That's on Ubuntu not Debian but it otherwise the same). And it also reveals that we both wasted time howling at the moon as your suggestion is already encoded in /var/lib/dpkg/info/r-base-core.postinst: # edd 03 Apr 2003 cf Section 10.1.2 of Debian Policy if [ ! -e /usr/local/lib/R ] then if mkdir /usr/local/lib/R 2>/dev/null then chown root:staff /usr/local/lib/R chmod 2775 /usr/local/lib/R fi fi if [ ! -e /usr/local/lib/R/site-library ] then if mkdir /usr/local/lib/R/site-library 2>/dev/null then chown root:staff /usr/local/lib/R/site-library chmod 2775 /usr/local/lib/R/site-library fi fi Cheers, Dirk | See http://www.debian-administration.org/articles/109 . | | | But, as I said, never mind. And don't take it personally. | Indeed, I appreciate your note -- it's about the only positive | thing I've gotten from anyone associated with R. | | I'm just frustrated at having spent a bunch of late nights | writing lecture notes to no real purpose. -- Hell, there are no rules here - we're trying to accomplish something. -- Thomas A. Edison -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]