Date: Thu, 14 Jan 2016 16:15:45 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206192] ls -R warns about EACCES on directories it's not going to list anyway Message-ID: <bug-206192-8-F7fs0HoXnm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-206192-8@https.bugs.freebsd.org/bugzilla/> References: <bug-206192-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206192 --- Comment #1 from nibbana@gmx.us --- On 9.3, notice that something similar affects rm(1): $ mkdir aaa; cd aaa; mkdir .bbb; chmod 0077 .bbb $ cd ..; rm -r aaa override ---rwxrwx user/wheel for aaa/.bbb? y rm: aaa/.bbb: Permission denied rm: aaa: Directory not empty I don't know all the rules, but this seems wrong also. The user was a member of group wheel, and all have rwx permissions, and it would seem that they ought to be able to remove the directory; alternatively, perhaps the permissions are hierarchial in nature, and a lower class user can't do what a higher class user can't do. Just thought it may be a worthy comment. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206192-8-F7fs0HoXnm>