1g.access(1)                 GRASS GIS User's Manual                g.access(1)
2
3
4

NAME

6       g.access   -  Controls  access to the current mapset for other users on
7       the system.
8       If no option given, prints current status.
9

KEYWORDS

11       general, map management, permission
12

SYNOPSIS

14       g.access
15       g.access --help
16       g.access   [group=string]    [other=string]     [--help]    [--verbose]
17       [--quiet]  [--ui]
18
19   Flags:
20       --help
21           Print usage summary
22
23       --verbose
24           Verbose module output
25
26       --quiet
27           Quiet module output
28
29       --ui
30           Force launching GUI dialog
31
32   Parameters:
33       group=string
34           Access for group
35           Options: grant, revoke
36
37       other=string
38           Access for others
39           Options: grant, revoke
40

DESCRIPTION

42       This  program  allows the user to control access to the current mapset.
43       Normally, any user can read data from any GRASS mapset.  But  sometimes
44       it is desirable to prohibit access to certain sensitive data. The g.ac‐
45       cess command allows a user to restrict read and execute access  to  the
46       current  mapset  (see  UNIX  chmod  command).  g.access will not modify
47       write access to the current mapset.
48
49       The user may, for example, allow only users in the same UNIX  group  to
50       read  data  files in the mapset, or restrict the mapset to personal use
51       only.
52

NOTES

54       Under GRASS, access to the mapset PERMANENT must be open to all  users.
55       This  is  because  GRASS looks for the user’s default geographic region
56       definition settings and the location TITLE in files that are stored un‐
57       der  the  PERMANENT mapset directory.  The g.access command, therefore,
58       will not allow you to restrict access to the PERMANENT mapset.
59
60       The g.mapsets command isn’t smart enough to tell if access to a  speci‐
61       fied mapset is restricted, and the user is therefore allowed to include
62       the names of restricted mapsets in his search path.  However, the  data
63       in  a restricted mapset is still protected; any attempts to look for or
64       use data in a restricted mapset will fail.  The user  will  simply  not
65       see any data listed for a restricted mapset.
66
67       UNIX  filesystem access controls and g.access actions are not supported
68       by MS-Windows.
69

SEE ALSO

71       UNIX manual entries for chmod(1) and group(5)
72       g.mapsets
73

AUTHOR

75       Michael Shapiro, U.S. Army Construction Engineering Research Laboratory
76

SOURCE CODE

78       Available at: g.access source code (history)
79
80       Accessed: Saturday Jan 21 21:14:18 2023
81
82       Main index | General index | Topics index | Keywords index |  Graphical
83       index | Full index
84
85       © 2003-2023 GRASS Development Team, GRASS GIS 8.2.1 Reference Manual
86
87
88
89GRASS 8.2.1                                                        g.access(1)
Impressum