Lines Matching refs:file
4 * Purpose: setting an acl on a file a verifies that the accesses are right
125 * set acl in order the file is only readable for the testuser
129 static void test1(char *file)
133 result = do_file_op(file);
142 * set acl in order the file is only readable for the testgroup
148 static void test2(char *file)
152 result = do_file_op(file);
160 * set acl in order the file is only readable for the testuser
165 static void test3(char *file)
169 result = do_file_op(file);
177 * set read-write acl on the file for the testuser
182 static void test4(char *file)
186 result = do_file_op(file);
193 static void test5(char *file)
197 result = do_file_op(file);
204 static void testgrp1(char *file)
209 result = do_file_op(file);
219 * set acl in order the file is only readable for the testgroup
225 static void testgrp2(char *file)
229 result = do_file_op(file);
238 * set acl in order the file is only readable for the testuser
243 static void testgrp3(char *file)
247 result = do_file_op(file);
256 * set read-write acl on the file for the testuser
261 static void testgrp4(char *file)
266 result = do_file_op(file);
274 static void testgrp5(char *file)
279 result = do_file_op(file);
291 /* create a file in this directory */
292 /* compare the file's acl and the parent directory's one */
335 printf("setting acl on file %s failed\nBad NFS configuration",
354 printf("setting acl on file %s failed\n", argv[1]);