ifuse_open doesn't handle file modes correctly
-
Paul Sladen
Credit to Nikias for having the brains to think about this one!
And as to why... the six permissions are exactly those used by:
fopen(..., "r" "r+" "w" "w+" "a" "a+");
-
Nikias Bassen
- Tag set to afc, ifuse, patch
Hi, here's a patch for ifuse where ifuse_open does handle the filemodes correctly and ifuse_create just calls ifuse_open (as the open mode flags are given in fi->flags anyway).
-
Nikias Bassen
- Tag changed from afc, ifuse, patch to afc, ifuse, libiphone, patch
- Assigned user set to Matt Colyer
And here's the corresponding patch for libiphone, iphoneclient and afccheck are updated accordingly.
-
Nikias Bassen
here's the patch for ifuse created using git format-patch.
-
Nikias Bassen
and the patch for libiphone updating the file open modes.
-
Matt Colyer
- State changed from new to resolved
(from [d0809fa25c43d179de621839a7aee2cdc05e3d65]) Handle file modes correctly
[#4 ifuse_open doesn't handle file modes correctly state:resolved]
Signed-off-by: Matt Colyer matt@colyer.name http://github.com/MattColyer/ifu...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
