Lines Matching +full:working +full:- +full:directory
38 .Nd change root directory
49 is the address of the pathname of a directory, terminated by an ASCII NUL.
53 to become the root directory,
58 In order for a directory to become the root directory
59 a process must have execute (search) access for that directory.
61 If the current working directory is not at or under the new root
62 directory, it is silently set to the new root directory.
65 has no effect on the process's current directory.
67 This call is restricted to the super-user.
71 function performs the same operation on an open directory file
76 Otherwise, a value of \-1 is returned and
81 will fail and the root directory will be unchanged if:
82 .Bl -tag -width Er
99 The named directory does not exist.
101 A component of the path name is not a directory.
103 The effective user ID of the calling process is not the super-user.
107 will fail and the root directory will be unchanged if:
108 .Bl -tag -width Er
110 Search permission is denied for the directory referenced
121 does not reference a directory.
123 The effective user ID of the calling process is not the super-user.
131 .St -xsh5 ,
132 with the restriction that the calling process' working directory must be at
133 or under the new root directory.
134 Otherwise, the working directory is silently set to the new root directory;
139 .St -p1003.1-2001 .
145 Working directory handling was changed in
149 call to a different directory to "escape" from the restricted subtree.