From owner-freebsd-current@FreeBSD.ORG Tue Sep 19 13:37:05 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A08D216A403 for ; Tue, 19 Sep 2006 13:37:05 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 020B443D4C for ; Tue, 19 Sep 2006 13:37:04 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k8JDb29m007814 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 19 Sep 2006 17:37:02 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k8JDb2rV007813 for current@FreeBSD.org; Tue, 19 Sep 2006 17:37:02 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 19 Sep 2006 17:37:02 +0400 From: Gleb Smirnoff To: current@FreeBSD.org Message-ID: <20060919133702.GJ27667@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline User-Agent: Mutt/1.5.6i Cc: Subject: VFS(?) weirdness X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 13:37:05 -0000 Dear collegues, I've got a box running HEAD where a strange bug is observed. The below script always returns on this box: pwd: .: Permission denied The box doesn't have any unusual things in its kernel config. No sysctl tuning. The filesystem is UFS. The bug can be reproduced in any user readable and writable directory, all commands except pwd execute successfully. The script should be run from current directory. %%% #!/bin/sh dir=$(mktemp -d $0.XXX) cd ${dir} dir2=$(mktemp -d $0.XXX) rm -rf ${dir2} /bin/pwd cd .. rm -rf ${dir} -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE