Follow-up Comment #4, bug #42318 (project findutils): Seems that Solaris 10 is acting in a different way. The mountpoint is not listed.
So i am wondering which is the correct interpretation for POSIX... Solaris 10 U11 with the find command which is/was included in the SUNWcsu package (as part of KU patch). -bash-3.2# more /etc/release Oracle Solaris 10 1/13 s10s_u11wos_24a SPARC Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved. Assembled 17 January 2013 -bash-3.2# uname -a SunOS xxxxxxxx 5.10 Generic_150400-26 sun4v sparc sun4v -bash-3.2# ls -l /usr/bin/find -r-xr-xr-x 1 root bin 28124 Oct 3 2008 /usr/bin/find # mountpoint /mnt/testmount -bash-3.2# ls -ld /mnt drwxr-xr-x 3 root sys 3 Mar 21 14:52 /mnt -bash-3.2# ls -ld /mnt/testmount drwxr-xr-x 2 root root 2 Mar 21 14:52 /mnt/testmount -bash-3.2# ls -lR /mnt/testmount /mnt/testmount: total 0 # mount ZFS fs mounttest on testmount -bash-3.2# zfs mount zones_rpool/mounttest -bash-3.2# zfs list zones_rpool/mounttest NAME USED AVAIL REFER MOUNTPOINT zones_rpool/mounttest 31K 88.8G 31K /mnt/testmount # create dirs -bash-3.2# mkdir -m 777 /mnt/testmount/ww_dir1 -bash-3.2# mkdir -m 777 /mnt/testmount/ww_dir2 -bash-3.2# mkdir -m 755 /mnt/testmount/dir3 # find /mnt -bash-3.2# find /mnt -xdev -perm -o+w -a ! -perm -1000 # find /mnt/testmount -bash-3.2# find /mnt/testmount -xdev -perm -o+w -a ! -perm -1000 /mnt/testmount/ww_dir2 /mnt/testmount/ww_dir1 # chmod mountpoint -bash-3.2# chmod 777 /mnt/testmount # repeat finds -bash-3.2# find /mnt -xdev -perm -o+w -a ! -perm -1000 -bash-3.2# ls -ld /mnt/testmount drwxrwxrwx 5 root root 5 Mar 21 18:32 /mnt/testmount -bash-3.2# ls -lR /mnt/testmount /mnt/testmount: total 9 drwxr-xr-x 2 root root 2 Mar 21 18:32 dir3 drwxrwxrwx 2 root root 2 Mar 21 18:32 ww_dir1 drwxrwxrwx 2 root root 2 Mar 21 18:32 ww_dir2 /mnt/testmount/dir3: total 0 /mnt/testmount/ww_dir1: total 0 /mnt/testmount/ww_dir2: total 0 -bash-3.2# find /mnt/testmount -xdev -perm -o+w -a ! -perm -1000 /mnt/testmount /mnt/testmount/ww_dir2 /mnt/testmount/ww_dir1 # umount testmount -bash-3.2# zfs umount /mnt/testmount -bash-3.2# find /mnt/testmount -xdev -perm -o+w -a ! -perm -1000 -bash-3.2# find /mnt -xdev -perm -o+w -a ! -perm -1000 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?42318> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/