mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 06:25:34 +00:00
[#3832] Added umask 0027 setting
This commit is contained in:
committed by
Andrei Pavel
parent
923990b389
commit
d91aa4203c
@@ -48,9 +48,19 @@ isDir(const std::string& path);
|
||||
bool
|
||||
isFile(const std::string& path);
|
||||
|
||||
/// @brief Check if there is a socket at the given path.
|
||||
///
|
||||
/// @param path The path being checked.
|
||||
///
|
||||
/// @return True if the path points to a socket, false otherwise including
|
||||
/// if the pointed location does not exist.
|
||||
bool
|
||||
isSocket(const std::string& path);
|
||||
|
||||
/// @brief Set umask (at least 0027 i.e. no group write and no other access).
|
||||
void
|
||||
setUmask();
|
||||
|
||||
/// @brief Paths on a filesystem
|
||||
struct Path {
|
||||
/// @brief Constructor
|
||||
|
Reference in New Issue
Block a user