Annotated edit history of
access(1) version 1, including all changes.
View license author blame.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
ACCESS |
|
|
2 |
!!!ACCESS |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
OPTIONS |
|
|
7 |
SEE ALSO |
|
|
8 |
---- |
|
|
9 |
!!NAME |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
access - determine whether a file can be accessed |
|
|
13 |
!!SYNOPSIS |
|
|
14 |
|
|
|
15 |
|
|
|
16 |
__access__ ''-mode file'' |
|
|
17 |
!!DESCRIPTION |
|
|
18 |
|
|
|
19 |
|
|
|
20 |
Exit successfully if ''file'' can be accessed with the |
|
|
21 |
specified mode. ''mode'' is one or more letters of |
|
|
22 |
''rwx'', where ''r'' is for readable, ''w'' is for |
|
|
23 |
writable, and ''x'' is for executable. |
|
|
24 |
|
|
|
25 |
|
|
|
26 |
The difference between __access__ and __test__ is that |
|
|
27 |
the latter looks at the permission bits, while the former |
|
|
28 |
checks using the access(2) system call. This makes a |
|
|
29 |
difference when file systems have been mounted |
|
|
30 |
read-only. |
|
|
31 |
!!OPTIONS |
|
|
32 |
|
|
|
33 |
|
|
|
34 |
__access__ accepts the following additional |
|
|
35 |
options: |
|
|
36 |
|
|
|
37 |
|
|
|
38 |
__--help__ |
|
|
39 |
|
|
|
40 |
|
|
|
41 |
Print help message and exit. |
|
|
42 |
|
|
|
43 |
|
|
|
44 |
__--version__ |
|
|
45 |
|
|
|
46 |
|
|
|
47 |
Print version information and exit. |
|
|
48 |
!!SEE ALSO |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
access(2) |
|
|
52 |
---- |
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.