Search code examples
textmatetextmatebundles

How can I fix permissions for bundles or Subversion in TextMate?


When I try to use GetBundles to update my TextMate bundles, "Parsing Local Bundles" appears and the progress wheel spins endlessly (e.g. >20 minutes). Reading the Help manual for GetBundles suggests that this might be a permissions error.

In line with this, typing at the command line the commands from this question ( How to update GetBundles in TextMate? ),

cd ~/Library/Application Support/TextMate/Bundles/
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/

produces this response:

Can't make directory 'GetBundles.tmbundle': Permission denied

Can I fix permissions somehow, to make GetBundles work properly, if that's my problem? Thanks!

update: I seem to have TextMate/Bundles/ in both my user user Library and the higher level Library. Could that be my problem? And if so, how should I fix it?


Solution

  • ORIGINAL RESPONSE: You need to remove the trailing slash from GetBundles.tmbundle/ so it reads like a file and not a directory: GetBundles.tmbundle <- incorrect (I misunderstood the question - apologies)

    UPDATE: I think the mistake (in your command as typed above anyway) is that spaces need escaping or the path needs quoting in your 'cd' command. So, from a fresh Terminal session (i.e. from your user Home directory) try quoting the path:

    cd "Library/Application Support/TextMate/Bundles/"
    

    then

    svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/
    

    Try that, and post the exact terminal readout here...