Grass Mapset permission-check

Eric Buddington eric at detritus.ees.wesleyan.edu
Wed Sep 13 12:32:11 EDT 1995


Running GRASS 4.1.5 on an SGI Indy, IRIX 5.3.

Problem: g.access would change permissions appropriately, but access was 
still denied to other users upon login.

I looked in the source code for libgis, and found that the check for 
access (in file mapset_msc.c, line 91) looks at the *ownership* of the file, 
rather than whether the current user can read (or perhaps write) to it. 
I'd think this would prevent shared access to a mapset under any 
circumstances.

Does anyone know why it would check the ownership of the directory rather 
than the permissions?

-Eric




More information about the grass-user mailing list