-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path0_fileList.h
More file actions
19 lines (17 loc) · 851 Bytes
/
0_fileList.h
File metadata and controls
19 lines (17 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef FILE_LIST
#define FILE_LIST
/*
Absolute path length of each file must be smaller than 256 or equals.
If need to be long of the length, Edit "BUF_MAX_LINE" macro. (In 0_usrDefine.h)
(! Important !) Don't decrease the value of BUF_MAX_LINE below "256". (If do that, The program may not work.)
*/
char* targetFile[] = { // <Abstract path of file> <Owner Name> <Group Name> <Permissions - Octal Number (ex. 777, 0654, and so on..)>
"/home/knu_cse_sdd/testSuccess knu_cse_sdd systemdev 0640",
"/home/knu_cse_sdd/testFailed knu_cse_sddd systemdevv 0777",
"/etc/passwd root root 0644",
"/etc/shadow root root 0640",
"/etc/hosts root root 0600",
"/home/knu_cse_sdd/00_project/server_monitoring_tools knu_cse_sdd knu_cse_sdd 0750",
"/home/knu_cse_sdd/00_project/common.c knu_cse_sdd knu_cse_sdd 777",
};
#endif