From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: [9fans] bind -c[ab] -- what am I doing wrong? Date: Thu, 17 Jul 2003 10:13:56 -0600 Topicbox-Message-UUID: fa1a5986-eacb-11e9-9e20-41e7f4b1d025 It is my understanding that a bind() should be "commutative" with respect to before/after, i.e.: bind -cb new old <==> bind -ca old new why does the following create fail? plan9% bind -cb $home/kern/cmd /sys/src/cmd plan9% touch /sys/src/cmd/blah # expected to succeed plan9% ls -l $home/kern/cmd/blah --rw-rw-r-- M 159 andrey andrey 0 Jul 17 10:06 /usr/andrey/kern/cmd/blah plan9% unmount /sys/src/cmd plan9% rm $home/kern/cmd/blah plan9% bind -ca /sys/src/cmd $home/kern/cmd plan9% touch $home/kern/cmd/blah # expected to succeed touch: /usr/andrey/kern/cmd/blah: cannot create: permission denied plan9% touch /sys/src/cmd/blah # expected to fail touch: /sys/src/cmd/blah: cannot create: permission denied plan9% who's to blame?