Bug#329958: Check for directory write access before creating the .deb

2005-09-24 Thread Barry Hawkins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Nijjar wrote: [...] > Since the script needs to write to the current directory, maybe > the script should test whether the current directory is writable before > going through all the work of extracting the binaries and building the > Debian

Bug#329958: Check for directory write access before creating the .deb

2005-09-24 Thread Paul Nijjar
Package: java-package Version: 0.24 Say a have a directory /tmp/java that is writable by root and readable (but not writable) by everybody. Inside this directory I have my jdk-1_5_0_04-linux-i586.bin file. Now I type: > cd /tmp/java > fakeroot java-package jdk-1_5_0_04-linux-i586.bin