Closed openhpi2 closed 8 years ago
*_ATTENTION_** This account is disabled and is no longer accessed by the recipient. Please remove it from your address book.
Thanks
Original comment by: tariqx
Original comment by: dr_mohan
The patch is uploaded. It creates the uid_map file with 644 permission (umask set to 022). It does not change the permissions on the existing file as the user could set it to 600 or some other permission manually.
This is a very simple patch. Please review.
Original comment by: dr_mohan
Original comment by: dr_mohan
New patch that applies only to non windows platforms
Original comment by: dr_mohan
Original comment by: dr_mohan
Fixed with checkin #7558
Original comment by: dr_mohan
Original comment by: dr_mohan
uid_map file is created as world writable which may be a security risk. Some input provided by Anton are
It is a reasonable concern. Guess we should create bug ticket for this.
There are two workarounds:
1) it is possible to run openhpi daemon without using uid_map. 2) it is possible to set uid_map file location other than /tmp or /var.
The file should be less than or equal to 644.
Reported by: dr_mohan