Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2006 17:37:02 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        current@FreeBSD.org
Subject:   VFS(?) weirdness
Message-ID:  <20060919133702.GJ27667@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060919133702.GJ27667>