155
155
} else if (path == NULL && dir == NULL && show_all == 1) {
156
157
nftw("/", check_file, 1024, nftw_flags);
158
160
nftw(dir, check_file, 1024, nftw_flags);
159
161
}else if (path && capabilities == 0) {
160
163
check_file(path, NULL, 0, NULL);
161
164
} else if (path && capabilities == 1) {
162
166
int fd = open(path, O_WRONLY|O_NOFOLLOW);
164
168
printf("Could not open %s for writing (%s)\n", path,