Re: odb_mkstemp's 0444 permission broke write/delete access on AFP

2015-02-18 Thread Fairuzan Roslan
> On Feb 18, 2015, at 10:05 PM, Matthieu Moy > wrote: > > Fairuzan Roslan writes: > >> Client: OS X 10.9 - 10.10.2 >> git client: git version 1.9.3 (Apple Git-50) and git version 2.2.1 >> >> Server : Linux 3.2.40 (Synology DSM 5.1) >> AFP : Net

Re: odb_mkstemp's 0444 permission broke write/delete access on AFP

2015-02-18 Thread Fairuzan Roslan
> On Feb 18, 2015, at 4:15 PM, Matthieu Moy > wrote: > > And now I'm starting to wonder whether other people do have the same > issue. Sure, googling "Git AFP" shows a lot of people having problems > with Git and AFP, but are they really the same problem? > > I googled 'git afp "unable to unli

Re: odb_mkstemp's 0444 permission broke write/delete access on AFP

2015-02-17 Thread Fairuzan Roslan
> On Feb 17, 2015, at 4:51 PM, Matthieu Moy > wrote: > > Fairuzan Roslan writes: > >> $ git clone https://github.com/robbyrussell/oh-my-zsh.git >> Cloning into 'oh-my-zsh'... >> remote: Counting objects: 11830, done. >> remote: Total 11830 (

Re: odb_mkstemp's 0444 permission broke write/delete access on AFP

2015-02-16 Thread Fairuzan Roslan
> On Feb 17, 2015, at 1:34 PM, Torsten Bögershausen wrote: > > On 02/17/2015 04:22 AM, Fairuzan Roslan wrote: >>> On Feb 17, 2015, at 3:08 AM, Matthieu Moy >>> wrote: >>> >>> [ Please, don't top post on this list ] >>> >>&

Re: odb_mkstemp's 0444 permission broke write/delete access on AFP

2015-02-16 Thread Fairuzan Roslan
> On Feb 17, 2015, at 3:08 AM, Matthieu Moy > wrote: > > [ Please, don't top post on this list ] > > Fairuzan Roslan writes: > >> I don’t see the issue for the owner of his/her own file to have write >> access. > > Object and pack files are not

Re: odb_mkstemp's 0444 permission broke write/delete access on AFP

2015-02-16 Thread Fairuzan Roslan
rite access after it done, while other file system like ext4,hfs+, etc can. You should at least give the user the option to set the permission in the config file and not hardcoded the permission in the binary. Regards, Fairuzan > On Feb 17, 2015, at 2:23 AM, Matthieu Moy > wrote: >

odb_mkstemp's 0444 permission broke write/delete access on AFP

2015-02-16 Thread Fairuzan Roslan
Hi, Somehow the “int mode = 0444;” in odb_mkstemp (environment.c) are causing a lot of issues (unable to unlink/write/rename) to those people who use AFP shares. In order to be able to write/unlink/delete/rename a file on AFP filesystem the owner of the file must have at least a u+w access to i