ssu
Loading...
Searching...
No Matches
ssuconfperm.c
Go to the documentation of this file.
1
11
12#include <sys/stat.h>
13#include <unistd.h>
14
15#include "../constants.h"
16
17int main(int argc, char **argv)
18{
19 struct stat sb;
20
21 if (!stat(SSU_CONFIGURATION, &sb)){
23 chmod(SSU_CONFIGURATION, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH);
24 }
25}
#define SSU_GROUP_ID
The group ID ssu expects to run as. This is usually the GID of the main phone user.
Definition constants.h:12
#define SSU_CONFIGURATION
Path to the main ssu configuration file.