Your message dated Mon, 06 Jun 2005 15:48:05 -0400 with message-id <[EMAIL PROTECTED]> and subject line Bug#294074: fixed in prcs 1.3.3-5 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 7 Feb 2005 18:59:01 +0000 >From [EMAIL PROTECTED] Mon Feb 07 10:59:01 2005 Return-path: <[EMAIL PROTECTED]> Received: from smtp03.mrf.mail.rcn.net [207.172.4.62] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1CyE68-0000et-00; Mon, 07 Feb 2005 10:59:00 -0800 Received: from 208-58-77-33.c3-0.grg-ubr3.lnh-grg.md.cable.rcn.com ([208.58.77.33] helo=tux.internal.ucko.debian.net) by smtp03.mrf.mail.rcn.net with esmtp (Exim 3.35 #7) id 1CyE5y-0005al-00 for [EMAIL PROTECTED]; Mon, 07 Feb 2005 13:58:50 -0500 Received: from amu by tux.internal.ucko.debian.net with local (Exim 4.44) id 1CyE5w-0002z9-HC for [EMAIL PROTECTED]; Mon, 07 Feb 2005 13:58:48 -0500 From: Aaron M. Ucko <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: prcs-el: breaks opening files under unreadable directories X-Debbugs-CC: Aaron M. Ucko <[EMAIL PROTECTED]> Date: Mon, 07 Feb 2005 13:58:48 -0500 Message-ID: <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SA-Exim-Connect-IP: <locally generated> X-SA-Exim-Mail-From: [EMAIL PROTECTED] Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE, X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: prcs-el Version: 1.3.3-3 Severity: important It is possible for a directory to be executable but not readable, in which case one can access its contents by name but not list them. For instance, the pam-tmpdir module I have installed sets up per-user temporary directories under /tmp/user, which has rwx--x--x permissions. Attempting to open a file under such a directory in Emacs with prcs-el installed blows out; I'm including a backtrace at the end of this report. As such, I'd suggest wrapping prcs-is-potentially-prcs-controlled's call to directory-files with condition-case: (condition-case nil (directory-files ...) (error nil)) (This may also help work around the bad interaction with ange-ftp noted in that function's comments.) -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.27 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages prcs-el depends on: ii emacs21 [emacsen] 21.3+1-9 The GNU Emacs editor ii prcs 1.3.3-3 The Project Revision Control Syste ii xemacs21 21.4.16-1 Editor and kitchen sink ii xemacs21-mule [xemacs21] 21.4.16-1 Editor and kitchen sink -- Mule bi ii xemacs21-nomule [xemacs21] 21.4.16-1 Editor and kitchen sink -- Non-mul -- no debconf information Debugger entered--Lisp error: (file-error "Opening directory" "permission denied" "/tmp/user/") directory-files("/tmp/user/" t "^[A-Za-z0-9#%^_+:,][A-Za-z0-9#%^_+:,-=.]*\\.prj$") (save-excursion (set-buffer (get-buffer-create "*scratch*")) (directory-files test-dir t "^[A-Za-z0-9#%^_+:,][A-Za-z0-9#%^_+:,-=.]*\\.prj$")) (let* ((test-dir ...) (test-files ...)) (setq potential (nconc potential test-files))) (progn (setq idx (match-end 0)) (let* (... ...) (setq potential ...))) (if (string-match "/" dir idx) (progn (setq idx ...) (let* ... ...)) (setq stop t)) (while (not stop) (if (string-match "/" dir idx) (progn ... ...) (setq stop t))) (let ((idx 0) (stop nil)) (while (not stop) (if ... ... ...)) nil) (catch (quote --cl-block-nil--) (let (... ...) (while ... ...) nil)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil))) (block nil (let (... ...) (while ... ...) nil)) (do ((idx 0) (stop nil)) (stop nil) (if (string-match "/" dir idx) (progn ... ...) (setq stop t))) (let* ((dir ...) (potential nil)) (do (... ...) (stop nil) (if ... ... ...)) (reverse potential)) prcs-is-potentially-prcs-controlled("/tmp/user/7286/pts_2/reportbug-bash-20050207-11217-biBW5s") (let ((--dolist-temp--27223 ...) try) (while --dolist-temp--27223 (setq try ...) (let ... ... ... ...) (setq --dolist-temp--27223 ...)) nil) (catch (quote --cl-block-nil--) (let (... try) (while --dolist-temp--27223 ... ... ...) nil)) (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil))) (block nil (let (... try) (while --dolist-temp--27223 ... ... ...) nil)) (dolist (try (prcs-is-potentially-prcs-controlled name)) (let (...) (when ... ...) (set-buffer buf) (if ... ... ...))) (catch (quote --cl-block-iterate--) (dolist (try ...) (let ... ... ... ...)) nil) (cl-block-wrapper (catch (quote --cl-block-iterate--) (dolist ... ...) nil)) (block iterate (dolist (try ...) (let ... ... ... ...)) nil) (save-excursion (block iterate (dolist ... ...) nil)) (if (and (not treat-as-non-p-file) (string-match "\\.prj$" name)) (let (... ...) (save-excursion ... ... ...)) (save-excursion (block iterate ... nil))) (catch (quote --cl-block-prcs-is-prcs-controlled--) (if (and ... ...) (let ... ...) (save-excursion ...))) (cl-block-wrapper (catch (quote --cl-block-prcs-is-prcs-controlled--) (if ... ... ...))) (block prcs-is-prcs-controlled (if (and ... ...) (let ... ...) (save-excursion ...))) (let* ((get-descriptor-too ...) (treat-as-non-p-file ...)) (let (...) (while --keys--27218 ...)) (block prcs-is-prcs-controlled (if ... ... ...))) prcs-is-prcs-controlled("/tmp/user/7286/pts_2/reportbug-bash-20050207-11217-biBW5s" :get-descriptor-too t) (let* ((link ...) (link-ctld ...) (info ...)) (if link (if link-ctld ... ...) (when info ...))) prcs-maybe-put-into-controlled-mode() run-hooks(find-file-hooks) after-find-file(nil t) find-file-noselect-1(#<buffer reportbug-bash-20050207-11217-biBW5s> "/tmp/user/7286/pts_2/reportbug-bash-20050207-11217-biBW5s" nil nil "/tmp/user/7286/pts_2/reportbug-bash-20050207-11217-biBW5s" (2227291 8449)) find-file-noselect("/tmp/user/7286/pts_2/reportbug-bash-20050207-11217-biBW5s" nil nil nil) find-file("/tmp/user/7286/pts_2/reportbug-bash-20050207-11217-biBW5s") find-alternate-file("/tmp/user/7286/pts_2/reportbug-bash-20050207-11217-biBW5s") call-interactively(find-alternate-file) --------------------------------------- Received: (at 294074-close) by bugs.debian.org; 6 Jun 2005 19:54:15 +0000 >From [EMAIL PROTECTED] Mon Jun 06 12:54:15 2005 Return-path: <[EMAIL PROTECTED]> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DfNfr-0003w3-00; Mon, 06 Jun 2005 12:54:15 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1DfNZt-00005Q-00; Mon, 06 Jun 2005 15:48:05 -0400 From: Romain Francoise <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] X-Katie: $Revision: 1.56 $ Subject: Bug#294074: fixed in prcs 1.3.3-5 Message-Id: <[EMAIL PROTECTED]> Sender: Archive Administrator <[EMAIL PROTECTED]> Date: Mon, 06 Jun 2005 15:48:05 -0400 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: X-CrossAssassin-Score: 11 Source: prcs Source-Version: 1.3.3-5 We believe that the bug you reported is fixed in the latest version of prcs, which is due to be installed in the Debian FTP archive: prcs-el_1.3.3-5_all.deb to pool/main/p/prcs/prcs-el_1.3.3-5_all.deb prcs-synch_1.3.3-5_all.deb to pool/main/p/prcs/prcs-synch_1.3.3-5_all.deb prcs-utils_1.3.3-5_all.deb to pool/main/p/prcs/prcs-utils_1.3.3-5_all.deb prcs-visualtree_1.3.3-5_all.deb to pool/main/p/prcs/prcs-visualtree_1.3.3-5_all.deb prcs_1.3.3-5.diff.gz to pool/main/p/prcs/prcs_1.3.3-5.diff.gz prcs_1.3.3-5.dsc to pool/main/p/prcs/prcs_1.3.3-5.dsc prcs_1.3.3-5_i386.deb to pool/main/p/prcs/prcs_1.3.3-5_i386.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Romain Francoise <[EMAIL PROTECTED]> (supplier of updated prcs package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 6 Jun 2005 21:09:01 +0200 Source: prcs Binary: prcs-visualtree prcs-synch prcs prcs-el prcs-utils Architecture: source all i386 Version: 1.3.3-5 Distribution: unstable Urgency: low Maintainer: Romain Francoise <[EMAIL PROTECTED]> Changed-By: Romain Francoise <[EMAIL PROTECTED]> Description: prcs - The Project Revision Control System prcs-el - ELisp support for the Project Revision Control System prcs-synch - Synchronize PRCS projects between repositories prcs-utils - Utilities for PRCS prcs-visualtree - Visualize PRCS projects in a graph Closes: 134047 149811 156588 159853 177879 204265 268350 272152 287958 293805 294074 294221 Changes: prcs (1.3.3-5) unstable; urgency=low . * The "Stayin' alive, stayin' alive" release. . * New maintainer (closes: #293805). * debian/control: Update maintainer contact information. . * debian/prcs-el.emacsen-startup: + Use debian-pkg-add-load-path-item, don't special-case load-path modification for Emacs 19 which is long gone (closes: #272152). + Do nothing if the package has been removed but not purged. + Add source files to load-path. . * debian/patches/10_prcs-el_dirs.dpatch: New patch to prcs-hooks.el, wrap call to directory-files with condition-case to workaround a bug where opening files in executable but non readable directories signalled an error, many thanks to Aaron M. Ucko <[EMAIL PROTECTED]> (closes: #294074). . * debian/patches/20_prcs-mv.dpatch: New patch, bring prcs-mv in sync with latest upstream (somewhat belatedly), patch submitted by Yann Dirson <[EMAIL PROTECTED]> (closes: #204265). . * debian/patches/30_diff-N-corruption.dpatch: New patch, fixes a bug where calling 'prcs diff -N' on a project where files have been locally removed would completely wipe the PRCS project file... (closes: #159853). . * debian/patches/40_prcs_checkin.dpatch: New patch, initial checkins cannot be run with --no-action because PRCS needs the repository entry, clarify error message to make this more explicit in the command output (closes: #149811). . * debian/patches/50_prcserror_segv.dpatch: New patch, check pointer in prcserror.cc before dereferencing it to prevent a segmentation fault, this could happen in some cases when removing already deleted attributes from a project file during a merge (closes: #177879). . * debian/patches/60_prcs_empty-locks.dpatch: New patch, when trying to get a lock on the repository, ignore empty lock files instead of bailing out with the "Inconsistant lock information" message: empty lock files get created when the filesystem runs out of space at checkin time and we should just ignore them (closes: #156588). . * debian/patches/70_man_fixes.dpatch: New patch, fixes a few typos and spelling errors in man pages. . * debian/patches/50_g++-3.4.dpatch: Dropped (it doesn't actually fix the build with G++ 3.4). * debian/patches/80_build_fixes.dpatch: New patch: + (Conditionally) use new __gnu_cxx::stdio_filebuf prototype for g++ versions newer than 3.3 (closes: #268350). + Change hash.cc to cast to long instead of int, for lack of a better fix (closes: #287958). + Drop erroneous fdopen change from the previous patch (closes: #294221). . * debian/patches/90_prcs-synch_misc.dpatch: New patch to prcs-synch: + Change the doc to say 'prcs-synch' instead of 'synch' when referring to the script since it's how it's called in Debian. + Apply a patch from "R. Church" <[EMAIL PROTECTED]> to fix repository sync failures over SSH (closes: #134047). . * debian/patches/00list: Update. * debian/control: Update build dependency on dpatch to >= 2.0.9 for the new style patches. Files: 05b74ef0dd7a6bed1949943c1774502c 684 devel optional prcs_1.3.3-5.dsc 17480e149d9a65a0c77bc19a443863e4 31579 devel optional prcs_1.3.3-5.diff.gz 75a26c23316f534066052f1790b853c5 52026 devel optional prcs-el_1.3.3-5_all.deb 77d1848abc6051a5ccf1b0c0df199a8d 32984 devel optional prcs-synch_1.3.3-5_all.deb 5b1ec3a0feb196244e0bd8fa585c2ccc 16552 devel optional prcs-visualtree_1.3.3-5_all.deb 3a47186648357b28a3eff46c144a9c17 48302 devel optional prcs-utils_1.3.3-5_all.deb 7bd0f1adba272352a99c2d55e4e8e8fa 389292 devel optional prcs_1.3.3-5_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCpKNjogN2vsA8Vt8RAvNQAJ9sUVV4xLiH6HIMZxh4G4+79ca1AACdGaI+ Yk0oAPsfnK21Uy8xBQg1RDE= =3XV5 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]