Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRASS Edit modifies files access permissions #11195

Closed
qgib opened this issue Jul 2, 2008 · 3 comments
Closed

GRASS Edit modifies files access permissions #11195

qgib opened this issue Jul 2, 2008 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS

Comments

@qgib
Copy link
Contributor

qgib commented Jul 2, 2008

Author Name: Maciej Sieczka - (Maciej Sieczka -)
Original Redmine Issue: 1135

Redmine category:grass
Assignee: Tim Sutton


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!

@qgib
Copy link
Contributor Author

qgib commented Jul 11, 2008

Author Name: Tim Sutton (Tim Sutton)


Yes thats not good lets try to fix that.


  • status_id was changed from Open to In Progress

@qgib
Copy link
Contributor Author

qgib commented Jul 11, 2008

Author Name: Jürgen Fischer (@jef-n)


GRASS behaves the same. Setting umask helps.

See thread http://lists.osgeo.org/pipermail/qgis-developer/2008-July/004277.html ff for more details.


  • resolution was changed from to worksforme
  • status_id was changed from In Progress to Closed

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2009

Author Name: Anónimo (Anónimo)


Milestone Version 1.0.0 deleted

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS
Projects
None yet
Development

No branches or pull requests

1 participant