From 2d0b3b3c19724b35f4fc34ee30d54cc89c822f61 Mon Sep 17 00:00:00 2001 From: colintu Date: Sun, 26 Jul 2009 13:44:17 +0000 Subject: [PATCH] Fix Writable temp directories not owned/writeable git-svn-id: http://abcde.googlecode.com/svn/trunk@256 a0fa61bc-5347-0410-a1a9-7f54aa4e1825 --- abcde | 6 +++--- debian/changelog | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/abcde b/abcde index 32824a1..1d0c446 100755 --- a/abcde +++ b/abcde @@ -1883,11 +1883,11 @@ do_discid () 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 [ ! -r "$ABCDETEMPDIR" ] || [ ! -w "$ABCDETEMPDIR" ] || [ ! -x "$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 diff --git a/debian/changelog b/debian/changelog index 64269ec..9d3846c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,9 +4,9 @@ abcde (2.3.99.8-1) unstable; urgency=low * Correct homepage URL in README (Closes: #526165). * Fix typos (Closes: #435605, #435606). * Fix misspelling of comma in script and manpage (Closes: #435603). - * + * Fix Writable temp directories not owned/writeable (Closes: #143552). - -- Colin Tuckley Sun, 26 Jul 2009 12:44:17 +0100 + -- Colin Tuckley Sun, 26 Jul 2009 14:40:56 +0100 abcde (2.3.99.7-1) unstable; urgency=low -- 2.20.1