I should have mentioned that the interactive session was done with the latest 
ksh

On Thu, 15 Aug 2013 12:54:13 -0400 Glenn Fowler wrote:
> AHA this might be the hook:

> $ cd /home/gsf/tst/ksh/tmp
> $ pwd
> $ ls
> $ cd -@ .
> /home/gsf/arch/sol11.i386/bin/ksh: cd: .: [Invalid argument]

I messed up this sequence
partly due to 'cd -' + 'pwd' making me think I was in a
physical dir when I was really in an xattr dir
moral: when playing with 'cd -@' don't rely on pwd (builtin or /bin/pwd) for 
context

trying again:

$ cd /home/gsf/tst/ksh/tmp
$ pwd
/home/gsf/tst/ksh/tmp
$ ls
$ cd -@ .
$ ls
SUNWattr_ro  SUNWattr_rw
$ cd -@ .
/home/gsf/arch/sol11.i386/bin/ksh: cd: .: [Invalid argument]

> so it looks like openat(xattrfd, O_XATTR|O_RDONLY) fails with EINVAL
> for an open xattr fd

_______________________________________________
ast-developers mailing list
[email protected]
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to