g.access(1)	       Grass User's Manual	      g.access(1)



NNAAMMEE
       gg..aacccceessss   -  Controls  user  access  to the current GRASS
       mapset.
       _(_G_R_A_S_S File Management Program)

SSYYNNOOPPSSIISS
       gg..aacccceessss

DDEESSCCRRIIPPTTIIOONN
       This program allows the user to control access to the cur-
       rent  mapset.   Normally,  any user can read data from any
       GRASS mapset. But sometimes it is  desirable  to  prohibit
       access  to  certain  sensitive  data. The _g_._a_c_c_e_s_s command
       allows a user to restrict read and execute access  to  the
       current	mapset	(see  UNIX _c_h_m_o_d command).  _g_._a_c_c_e_s_s will
       not modify write access to the current mapset.


       The user may, for example, allow only users  in	the  same
       UNIX  group  to read data files in the mapset, or restrict
       the mapset to personal use only.


       After typing gg..aacccceessss

       the user will  be  presented  with  a  screen  page  which
       reflects the current mapset permissions. The user can then
       change them.  The screen page looks like:

	__________________________________________________________
       |   LOCATION:  spearfish 			  MAPSET:
       demo|
       |
       |
       |  This	program  allows  you  to  control  access to your
       |
       |	 mapset 	by	    other	   users.
       |
       |
       |
       | Access may  be  granted/removed  for  everyone,  or  for
       |
       |	  everyone	   in	      your	   group.
       |
       |
       |
       |  Mark	an  'x'  to  allow  access;   erase  the field to
       |
       |		     restrict			  access.
       |
       |
       |
       |			  GROUP:		      _x_
       |
       |			  OTHER:		      _x_
       |
       |
       |
       |     AFTER  COMPLETING	ALL  ANSWERS,  HIT  <ESC> TO CON-
       TINUE	   |
       |		      (OR     <Ctrl-C>	   TO	  CANCEL)
		       |
       |__________________________________________________________|


       If you remove the x (using the space bar), access will  be
       denied  to  that  class	of user (group or other).  If you
       type an x, access will be granted to that class of user.

NNOOTTEESS
       There is no non-interactive version of _g_._a_c_c_e_s_s.


       Under GRASS version 4.0, access to  the	mapset	PERMANENT
       must  be  open  to all users.  This is because GRASS looks
       for the user's default geographic region  definition  set-
       tings  and  the	location  TITLE  in files that are stored
       under the PERMANENT mapset directory.  The  _g_._a_c_c_e_s_s  com-
       mand,  therefore, will not allow you to restrict access to
       the PERMANENT mapset.


       The _g_._m_a_p_s_e_t_s command isn't smart enough to tell if access
       to  a  specified  mapset  is  restricted,  and the user is
       therefore allowed  to  include  the  names  of  restricted
       mapsets	in  his  search  path.	 However,  the	data in a
       restricted mapset is still protected; any attempts to look
       for  or	use  data  in a restricted mapset will fail.  The
       user will simply not see any data listed for a  restricted
       mapset.

SSEEEE AALLSSOO
       UNIX manual entries for _c_h_m_o_d and _g_r_o_u_p
       _g_._m_a_p_s_e_t_s

AAUUTTHHOORR
       Michael	 Shapiro,   U.S.  Army	Construction  Engineering
       Research Laboratory

       _L_a_s_t _c_h_a_n_g_e_d_: _$_D_a_t_e_: _2_0_0_2_/_0_1_/_2_5 _0_5_:_4_5_:_3_3 _$



GRASS 5.0					      g.access(1)
