The file /usercontrols/uTagsy/settings.json seems to be in a bad place, as it needs to be writeable by the site to update itself - how can this file be moved to App_Data, which is writeable?
I can do that, but I just don't like having to allow arbitrary write permissions through the site - I've been bitten too many times in the past when redeploying a site with unexpected things breaking for this reason ;-) App_Data is where writeable stuff should probably be, so it just seemed to make sense to put it there; I guess I can change that in source and rebuild, but was hoping not to...
uTagsy data file not in App_Data?
The file /usercontrols/uTagsy/settings.json seems to be in a bad place, as it needs to be writeable by the site to update itself - how can this file be moved to App_Data, which is writeable?
Phil
Why not change folder permissions for the containing folder?
I can do that, but I just don't like having to allow arbitrary write permissions through the site - I've been bitten too many times in the past when redeploying a site with unexpected things breaking for this reason ;-) App_Data is where writeable stuff should probably be, so it just seemed to make sense to put it there; I guess I can change that in source and rebuild, but was hoping not to...
Phil
You're right. App_Data is a better place.
Unfortunately utagsy's json path is hardcoded. I'll probably change it in the next release when ever I find the time to do it :)
No problem Anthony, thanks for confirming it is hard-coded for now; at least that saves me time trying to move it somehow.
Just added /app_data/uTagsy.json to the next version.
A tone more work to do though grrrr.
Thanks Anthony, I owe you a beer at CG12!
is working on a reply...