correct location for (java) jar files

1998-11-17 Thread Allan M. Wind
What is the correct location for (java) jar files? /usr/lib/java /usr/share/lib/java Or something else? It would (also?) be useful to have a $DIR with symlinks from other locations, say: /usr/lib/jdk1.1/lib -> $DIR for building correct and up-to-date CLASSPATH's (jdk

Re: Checking if directory is empty in postrm

1998-11-17 Thread Cylord
On Tue, Nov 17, 1998 at 03:05:08PM +0100, Richard Braakman wrote: > Chris Waters wrote: > > if [ "$(echo * .*)" = "* . .." ] ; then echo empty dir; fi > > Brilliant. :-) > > It has only one flaw. *cough* > > % mkdir emptydir; cd emptydir > % touch * > % if [ "$(echo * .*)" = "* . .." ] ; then e

Re: Advice packaging jazip (suid!!)

1998-11-17 Thread Peter S Galbraith
[EMAIL PROTECTED] wrote: > Couldn't jazip be setgid to disk? Probably, but I'd need to change group permission on the jaz/zip scsi device to `rw'. By default it's only `r' (on my system anyway). $ ls -l /dev/sda brw-r- 1 root disk 8, 0 May 19 1997 /dev/sda Would it be okay

Re: Advice packaging jazip (suid!!)

1998-11-17 Thread robbie
Couldn't jazip be setgid to disk? Regards -- Robbie Murray

Re: Source code location?

1998-11-17 Thread Arto Astala
Adam Di Carlo wrote: > > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Julian Gilbey) writes: > >[Me] > >> Hmm. Interesting. So how do you use it? You *extend* the library? > >> Or you just read about it? ;) > > > [...] (In fact, it's so readable that it's > > been published as a book.

Re: Checking if directory is empty in postrm

1998-11-17 Thread Richard Braakman
Chris Waters wrote: > if [ "$(echo * .*)" = "* . .." ] ; then echo empty dir; fi Brilliant. :-) It has only one flaw. *cough* % mkdir emptydir; cd emptydir % touch * % if [ "$(echo * .*)" = "* . .." ] ; then echo empty dir; fi empty dir *evil grin* Richard

Re: How to update packages in frozen?

1998-11-17 Thread Richard Braakman
Stephane Bortzmeyer wrote: > > On Friday 13 November 1998, at 19 h 54, the keyboard of Debian Installer > <[EMAIL PROTECTED]> wrote: This header is incorrect. Debian Installer is a cron job, and has no keyboard. > > Installing: > > queso_0.980922-2_i386.deb to > > dists/potato/main/binary-i38

Re: My vanity Web page on Debian

1998-11-17 Thread Raphael Hertzog
Le Tue, Nov 17, 1998 at 11:34:06AM +0100, Stephane Bortzmeyer écrivait: > Is there a policy about developer's Web pages? I saw that I can put pages on > master and they are available as http://master.debian.org/~bortz. But I would > like them to be on www.debian.org (specially since master is not

My vanity Web page on Debian

1998-11-17 Thread Stephane Bortzmeyer
Is there a policy about developer's Web pages? I saw that I can put pages on master and they are available as http://master.debian.org/~bortz. But I would like them to be on www.debian.org (specially since master is not intended as a Web server). I observed that

Re: Checking if directory is empty in postrm

1998-11-17 Thread Chris Waters
Sorry to provide such a late reply, I was off-list for a couple of days. However, I've reviewed the answers provided so far, and I like mine better. :-) First, the easiest and most obvious way to check if a directory is empty is to rm it. If that succeeds, the directory was empty. Of course, s

How to update packages in frozen?

1998-11-17 Thread Stephane Bortzmeyer
On Friday 13 November 1998, at 19 h 54, the keyboard of Debian Installer <[EMAIL PROTECTED]> wrote: > Installing: > queso_0.980922-2_i386.deb to dists/potato/main/binary-i386/net/queso_0.980922 -2.deb (replacing queso_0.980922-1.deb) That's fine but this new version of queso was also uploaded t

Re: Checking if directory is empty in postrm

1998-11-17 Thread Matthias Klose
Richard Braakman writes: > Marcus Brinkmann wrote: > > can someone give me a hint how I can efficient test if a certain directory > > is empty in the postrm (shell script)? > > If you only want to know if it's empty because you want to remove it, > then there's a very simple solution: > >

Re: Checking if directory is empty in postrm

1998-11-17 Thread Ben Gertzfield
> "Marcus" == Marcus Brinkmann <[EMAIL PROTECTED]> writes: Marcus> can someone give me a hint how I can efficient test if a Marcus> certain directory is empty in the postrm (shell script)? Here's what I did in the /etc/rc.boot/nethack script: # Are there any lock-files to recover? ls

Re: Checking if directory is empty in postrm

1998-11-17 Thread Richard Braakman
Marcus Brinkmann wrote: > can someone give me a hint how I can efficient test if a certain directory > is empty in the postrm (shell script)? If you only want to know if it's empty because you want to remove it, then there's a very simple solution: rmdir directory 2>/dev/null || true The rmdir w

Re: Advice packaging jazip (suid!!)

1998-11-17 Thread Peter S Galbraith
Ben Collins wrote: > On Mon, Nov 16, 1998 at 04:30:02PM -0500, Peter S Galbraith wrote: > > If we simply put users in group `disk', > > this creates a security hole since they will have read-access to raw scsi > > disks other than the zip and jaz disk. > > And

Re: Advice packaging jazip (suid!!)

1998-11-17 Thread Marcus Brinkmann
On Mon, Nov 16, 1998 at 04:30:02PM -0500, Peter S Galbraith wrote: > Marcus Brinkmann wrote: > > On Fri, Nov 13, 1998 at 10:38:02AM -0500, Peter S Galbraith wrote: > > > 3- suid: > > > > > >jazip is usually suid root such that users can u/mount disks. > > >Should I create a new jazip gro

Re: Checking if directory is empty in postrm

1998-11-17 Thread Marcus Brinkmann
On Mon, Nov 16, 1998 at 12:28:17AM -0600, [EMAIL PROTECTED] wrote: > Marcus Brinkmann writes: > > [ `ls -1 $dir` ] > > This does not work. If the dir contains no file, it is "[ ]", > > which returns 0, which is fine. If it contains more than one file, it is too > > many arguments, therefore retur