I think this bug has long ago been fixed, so I'm going to close this
bug.  Testing shows this:

(laptop) touch doo
(laptop) chmod a-w doo
(laptop) ll doo
-r--r--r-- 1 me me 0 Jan 30 16:46 doo
(laptop) acpidump -o doo
Target path already exists, overwrite? [y|n] n
(laptop) echo $?
255
(laptop) acpidump -o doo
Target path already exists, overwrite? [y|n] y
Could not open file: Permission denied
Could not open output file: doo

I also tried this:

(laptop) mkdir foo
(laptop) chmod a-x foo
(laptop) chmod a-w foo
(laptop) acpidump -o foo/bar
Could not open file: Permission denied
Could not open output file: foo/bar

Let me know if there's a case I missed somewhere.

-- 
Ciao,
al
----------------------------------------------------------------------
Al Stone                                         Debian Developer
E-mail: a...@debian.org                          http://www.debian.org
----------------------------------------------------------------------

Reply via email to