Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Heads up: objdir is now rm -rf resistent



On Wed, Dec 15, 2021 at 07:53:55 -0500, Greg Troxel wrote:

> I wonder if "rm -rf" should actually succeed with these modes, by doing
> a chmod when necessary.  It has always seem to me that -f is supposed to
> really mean -f.  But maybe POSIX says otherwise.

That would be a security hole, wouldn't it?  There will be a window
where the directory that is not supposed to be readable becomes
readable.

-uwe


Home | Main Index | Thread Index | Old Index