xbps-rindex: clear file permission bits before creating our named semaphore.

Due to the file permission bits (umask(3)) the semaphore wasn't created
with correct permissions.
This commit is contained in:
Juan RP
2014-02-05 15:27:35 +01:00
parent 9c124aa162
commit 306fe4968e
2 changed files with 7 additions and 0 deletions

3
NEWS
View File

@@ -1,5 +1,8 @@
xbps-0.32 (???):
* xbps-rindex(8): set correct permissions to the POSIX semaphore
by clearing file permission bits before its creation.
xbps-0.31 (2014-02-01):
* xbps-rindex(8): use a POSIX named semaphore in modes that can modify