[Bug 233436] rm -rf fails when the number of subfolders of a folder in a tree is too high
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Dec 3 15:17:52 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233436
pprocacci at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pprocacci at gmail.com
--- Comment #2 from pprocacci at gmail.com ---
As the previous poster commented, "Operation not permitted" implies (most
likely) an immutable bit set on the files you are attempting to remove.
Though, this doesn't explain why find was successful in removing such files.
Argument list too long *is* expect with `rm -rf *` if you are using a glob in a
very large directory. The glob gets expanded to all files within the current
directory and sure enough, exceeds the number of arguments available to pass to
the utility.
As a side note; an alternative to find that I myself would have probably used:
ls <release>/foo/bar/ | xargs rm -rf
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list