Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Phil Dye 149 posts 325 karma points
    Mar 12, 2012 @ 18:21
    Phil Dye
    0

    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

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 14, 2012 @ 02:17
    Anthony Dang
    0

    Why not change folder permissions for the containing folder?

     

  • Phil Dye 149 posts 325 karma points
    Mar 14, 2012 @ 10:34
    Phil Dye
    0

    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

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 14, 2012 @ 10:46
    Anthony Dang
    0

    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 :)

     

  • Phil Dye 149 posts 325 karma points
    Mar 14, 2012 @ 11:00
    Phil Dye
    0

    No problem Anthony, thanks for confirming it is hard-coded for now; at least that saves me time trying to move it somehow.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 15, 2012 @ 23:41
    Anthony Dang
    1

    Just added /app_data/uTagsy.json to the next version.

    A tone more work to do though grrrr.

  • Phil Dye 149 posts 325 karma points
    Mar 16, 2012 @ 10:19
    Phil Dye
    0

    Thanks Anthony, I owe you a beer at CG12!

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies