jespern / bitbucket
This repository (bitbucket) is private, but has an open issue tracker.
You can view all issues and add comments, as well as creating new issues, but not make other changes.
| Status: | resolved | Responsible: | Mads Sülau Jørgensen / madssj | Type: | bug |
| Milestone: | 1. Above the Law | Component: | lysander | Version: | none |

#1
6 months ago
→ Changed status from new to open.
Think it's OK now, but I dunno.
#2
4 months ago
→ Changed component from nothing to lysander.
→ Changed responsible from jespern to madssj.
Mads, take a look at this.
#3
4 months ago
Sure, but please explain what I'm looking for.
#4
4 months ago
There's a 'fix_permissions' method in lysander which is run after repo creation, but sometimes it flukes out and the repo ends up without the proper permissions, yielding a 'Permission denied' error when people try to push over ssh.
#5
4 months ago
→ Changed milestone from nothing to 1. Above the Law.
#6
4 months ago
Does the method get run partially or not at all?
#7
4 months ago
It does get run, but I think sometimes the stuff on disk is getting created a little delayed for the code to pick it up. It only happens sometimes, that's the thing.
#8
4 months ago
Let's add some logging to lysander so we can tell when it goes wrong. My first thought was that had the permission and creating in seperate threads, but you don't. The disk and fs shouldn't be a problem here, unless mercurial does lazy backend writing (let's hope it doesn't).
Also you could insert a time.sleep(0.05) - if that fixes it, it's the disk/fs.
#9
4 months ago
I've just expierenced this on a newly created repo. It seems that the problem is related to the fix_permissions not setting the propper permissions on the directories located in .hg.
I'll see if I can reproduce it on my test machine. Could look like os.walk is beeing used wrongly.
#10
3 months ago
umask in conq.
#11
3 months ago
→ Changed status from open to resolved.
r1601:e86b2acca14e fixes.
#12
3 months ago
(Yes, I'm making that wiki macro now.)
#13
3 months ago
Hey, it works, cool!