Hi,

...on Wed, May 31, 2017 at 03:07:55PM -0400, Ted Unangst wrote:

 > Kurt Mosiejczuk wrote:
 > > Just recently converted the main user machines students and faculty use
 > > to OpenBSD 6.1.  I've found out that git will abort in one scenario
 > > where there is a directory in the tree where the user has execute
 > > permissions but not read permissions.
 > Not so much a corner case as explicitly documented as a possible error.

I played some more with this.

I have a couple of directories, and a user that is not in the 
sys group:

drwxrwx--x  3 root  sys  512 Jun  3 15:04 test1
drwxrwx-wx  2 root  sys  512 Jun  3 15:09 test1/subdir
drwxrwx-wx  2 root  sys  512 Jun  3 15:16 test2

On OpenBSD 6.1, this is what happens when I try to run a "pwd" 
in those directories as the above user:

$ cd /tmp/test1
$ pwd
/tmp/test1
$ cd /tmp/test1/subdir
$ pwd
ksh: pwd: can't get current directory - Permission denied
$ cd /tmp/test2
$ pwd
/tmp/test2

I don't quite understand the Permission denied in test1/subdir? 
Am I missing something?

Alex.

Reply via email to