VFS(?) weirdness

From: Gleb Smirnoff <glebius_at_FreeBSD.org>
Date: Tue, 19 Sep 2006 17:37:02 +0400
  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
Received on Tue Sep 19 2006 - 11:37:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:00 UTC