[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[abcde] Bug#143552: Writable temp directories, not owned143552@bugs.debian.org
Package: abcde
Version: 2.0.3-1
Tags: patch
I just started using a FAT32/VFAT partition for my music and mount it
with the permissions set for the audio group. The following patch
allows me to continue to use abcde. I hope it's useful.
Thanks for providing this tool,
--
-- Grant Bowman <grantbow@grantbow.org>
--- /home/grantbow/bin/abcde~ Sun Apr 7 16:09:25 2002
+++ /home/grantbow/bin/abcde Thu Apr 18 19:29:29 2002
@@ -434,11 +434,11 @@
exit 1
fi
echo -n .
- # It's a directory, let's see if it's owned by us
- if [ ! -O "$ABCDETEMPDIR" ]; then
+ # It's a directory, let's see if it's writable by us
+ if [ ! -w "$ABCDETEMPDIR" ]; then
# Nope, complain and exit
echo >&2
- echo "abcde: directory $ABCDETEMPDIR already exists and is not owned by you." >&2
+ echo "abcde: directory $ABCDETEMPDIR already exists and is not writeable." >&2
echo "Please investigate, remove it, and rerun abcde." >&2
exit 1
fi
To unsubscribe: echo unsubscribe | mail abcde-request@whimsica.lly.org