Gaufrette icon indicating copy to clipboard operation
Gaufrette copied to clipboard

url_stat requires write permissions

Open cuspide1988 opened this issue 12 years ago • 2 comments

Currently the url_stat method opens the file with "r+", thus failing if the file exists, but can't be written. If using url_stat in file_exists, this yields different results than doing a file_exists of an existing file on which you don't have write permissions. @gissues:{"order":50,"status":"inprogress"}

cuspide1988 avatar Apr 12 '13 12:04 cuspide1988

@cuspide1988 Is this still relevant?

wysow avatar Mar 04 '15 17:03 wysow

we encountered this problem in the last few days and gave us a really hard time. I don't see, why we'd need write access here. The only reason would be to perhaps create the base-directory - but that's a side-effect, i wouldn't expect if i used file_exists().

rejinka avatar Mar 14 '19 10:03 rejinka

I close this issue. If anyone has a similar problem, please feel free to reopen it and add details of your problem.

PedroTroller avatar Apr 13 '23 12:04 PedroTroller