bug-coreutils
[Top][All Lists]
Advanced

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

bug#21534: Bug in mkdir?!


From: Paul Eggert
Subject: bug#21534: Bug in mkdir?!
Date: Tue, 22 Sep 2015 20:09:35 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Sebastian Unger wrote:
Why is it trying to open the directory
in the first place?

Security.

Apparently POSIX doesn't allow this level of paranoia for mkdir -p, so I removed it in the attached Gnulib patch, and this should appear in the next coreutils release.

A filesystem that doesn't let you read your own directory that you just created is likely to run into other problems like this -- i.e., the practice may introduce more security problems than it closes. But I digress.

Attachment: 0001-savewd-remove-SAVEWD_CHDIR_READABLE.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]