On Thu, 2008-08-14 at 16:25 +0300, Szabolcs Szakacsits wrote: ... > > ntfs-3g correctly returns ENOTEMPTY but this information gets lost and > arrives as success to gnu rm. > > This indeed looks to be a problem in Solaris.
Yup, I agree. Solaris rm(1) has the correct behaviour but using the GNU rm causes strangeness. Here's what happens with sshfs: $ mkdir -p l/l/l/l/l/l/l/l $ /usr/gnu/bin/rm -fr l /usr/gnu/bin/rm: cannot remove directory `l': Not owner $ /usr/bin/rm -fr l $ I've opened a bug to track this on defect.opensolaris.org: 2930 GNU rm causes problems for FUSE Feel free to add comments/update it. -M _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils