From: hno <> Date: Sun, 7 Nov 2004 21:03:18 +0000 (+0000) Subject: Bug #918: Complain loudly if no write permission to cache directory X-Git-Tag: SQUID_3_0_PRE4~995 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=291976d9fb04181931fe87b4aaab8b573146eefb;p=thirdparty%2Fsquid.git Bug #918: Complain loudly if no write permission to cache directory --- diff --git a/src/fs/ufs/store_io_ufs.cc b/src/fs/ufs/store_io_ufs.cc index fefb273bd9..67afbe3d18 100644 --- a/src/fs/ufs/store_io_ufs.cc +++ b/src/fs/ufs/store_io_ufs.cc @@ -1,6 +1,6 @@ /* - * $Id: store_io_ufs.cc,v 1.24 2004/08/30 05:12:33 robertc Exp $ + * $Id: store_io_ufs.cc,v 1.25 2004/11/07 14:03:18 hno Exp $ * * DEBUG: section 79 Storage Manager UFS Interface * AUTHOR: Duane Wessels @@ -137,7 +137,7 @@ UFSFile::open (int flags, mode_t mode, IORequestor::Pointer callback) ioRequestor = callback; if (fd < 0) { - debug(79, 3) ("UFSFile::open: got failure (%d)\n", errno); + debug(79, 1) ("UFSFile::open: Failed to open %s (%s)\n", path_, xstrerror()); error(true); } else { closed = false;