shilow / boar

Automatically exported from code.google.com/p/boar
https://bitbucket.org/mats_ekberg/boar/wiki/Home
0 stars 0 forks source link

Too restrictive permissions on session folders #105

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Ensure that the file mask of user A allows user B to read and write A's 
newly created files.
2. As user A, create a repository in a public folder (such as /tmp)
3. As user A, create a session in the repository.
4. As user B, check out the session by accessing the repository locally.

What is the expected output? What do you see instead?
User B should be able to check out the session, as user A's file mask allows 
user B to read his files. Instead, there is an exception because the session 
folder in the repository has more restrictive permission flags than the file 
mask.

This problem is caused by Boar using the tempfile.mkdtemp() call to create the 
session folder.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by ekb...@gmail.com on 11 Nov 2013 at 4:26

GoogleCodeExporter commented 8 years ago
Fixed in revision bc9975689e5c

Original comment by ekb...@gmail.com on 1 Dec 2013 at 8:19