[QGIS-trac] [Quantum GIS] #1135: GRASS Edit modifies files access permitions

Quantum GIS qgis at qgis.org
Wed Jul 2 13:19:22 EDT 2008


#1135: GRASS Edit modifies files access permitions
---------------------------------------------------------+------------------
   Reporter:  msieczka                                   |              Owner:  nobody        
       Type:  bug                                        |             Status:  new           
   Priority:  critical: causes crash or data corruption  |          Milestone:  Version 0.10.0
  Component:  GRASS                                      |            Version:  HEAD          
   Keywords:                                             |   Platform_version:                
   Platform:  Linux                                      |           Must_fix:  Yes           
Status_info:  0                                          |  
---------------------------------------------------------+------------------
 See what are the initial rights for the files that a given GRASS vector
 layer is composed of:

 {{{
 $ ls -lr dbf/pokrycie_przyborow_u65_10k.dbf
 vector/pokrycie_przyborow_u65_10k
 -rw-rw---- 1 ms      users-grass  466 2008-07-02 19:07
 dbf/pokrycie_przyborow_u65_10k.dbf

 vector/pokrycie_przyborow_u65_10k:
 razem 140
 -rw-rw---- 1 ms      users-grass   1986 2008-07-02 19:07 topo
 -rw-rw---- 1 andrzej users-grass   3195 2008-07-02 19:07 hist
 -rw-rw---- 1 andrzej users-grass    176 2008-07-02 19:07 head
 -rw-rw---- 1 andrzej users-grass     75 2008-07-02 19:07 dbln
 -rw-rw---- 1 andrzej users-grass 116326 2008-07-02 19:07 coor
 -rw-rw---- 1 ms      users-grass    369 2008-07-02 19:07 cidx
 }}}


 As can be seen both group and owner can edit data. Now I open the vector
 in QGIS GRASS Edit, modify a feture and quit. QGIS modifies file access
 rights for the group, preventing other group members from being able to
 edit the data from now on:

 {{{
 $ ls -lr vector/pokrycie_przyborow_u65_10k
 dbf/pokrycie_przyborow_u65_10k.dbf
 -rw-r--r-- 1 ms      users-grass  375 2008-07-02 19:14
 dbf/pokrycie_przyborow_u65_10k.dbf

 vector/pokrycie_przyborow_u65_10k:
 razem 140
 -rw-r--r-- 1 ms      users-grass   1949 2008-07-02 19:14 topo
 -rw-rw---- 1 andrzej users-grass   3402 2008-07-02 19:13 hist
 -rw-rw---- 1 andrzej users-grass    176 2008-07-02 19:14 head
 -rw-rw---- 1 andrzej users-grass     75 2008-07-02 19:14 dbln
 -rw-rw---- 1 andrzej users-grass 116326 2008-07-02 19:14 coor
 -rw-r--r-- 1 ms      users-grass    349 2008-07-02 19:14 cidx
 }}}


 Please don't!

-- 
Ticket URL: <http://trac.osgeo.org/qgis/ticket/1135>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list