diff options
author | Alexander E. Patrakov <patrakov@gmail.com> | 2014-04-20 21:58:19 +0600 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2016-09-20 12:54:58 +0200 |
commit | 193c97bcd6cb76d95fd284994a3aa96ac4aa6e99 (patch) | |
tree | e57cb2fbd05a4045c4b5f48ab8ca342df4ebdd7d /man/pulse-daemon.conf.5.xml.in | |
parent | 4b137182a8e63ea7494b3b747e8777f5a38b8a66 (diff) |
core-util: Remove redundant check of directory permissionsrhel-6.9
Initially (in commit ef422fa4ae626e9638ca70d1c56f27e701dd69c2),
pa_make_secure_dir followed a simple principle: "make a directory, or,
if it exists, check that it is suitable". Later this evolved into "make
a directory, or, if it exists, ensure that it is suitable". But the
check remained.
The check is now neither sufficient nor necessary. On POSIX-compliant
systems, the fstat results being checked are actually post-conditions of
fchmod and fchown. And on systems implementing POSIX ACLs, fstat only
reflects a part of the information relevant to the security of the
directory permissions, so PulseAudio could accept an existing insecure
directory anyway.
Also, the check still fires on non-POSIX-compliant filesystems like CIFS.
As a user cannot do anything to fix it, just accept insecure permissions
in this case.
Diffstat (limited to 'man/pulse-daemon.conf.5.xml.in')
0 files changed, 0 insertions, 0 deletions