We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17261
    • 18 Posts
    .svn is supposed to refer to subversion, correct? Do I need this folder? There are subdirectories in .svn named prop-base and text-base and I’m not sure what these are either. The reason for my asking is that we got hacked at around October due to the SearchID exploit - and the hacker uploaded viagra/cialis/etc. pages into various directories of the site. Now it has been put into my hands to try to salvage current content (post-infection) and placing them into an old backup (pre-infection) we have and to rebuild from there  undecided. There are also several directories containing thumbnails that have a period (.) before them - what does this period mean, and how/why was this file created?

    P.S. I also notice that the .svn folder is hidden in Mac OS X. Why is that?
      • 24719
      • 194 Posts
      if you’re definitely sure you aren’t using subversion, you should be able to delete all of the .svn directories you find - it’d be best to make a complete backup of everything first though in case you want to restore something later.

      i’m not sure about on macs, but on linux, a leading ’.’ indicates that the file or directory should be hidden.
        • 25663 MODX Staff
        • 12,272 Posts
        Any filenames that begin with a period are hidden by default from the Finder in OS X. They show up in the terminal and most FTP clients or if you use a utility like Cocktail to turn on the hidden preference to display them.

        Did you by chance check out the distribution from the repository? Which version is it?
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 17261
          • 18 Posts
          It was version 0.9.6.1; it was installed by the previous webmaster who is currently unreachable. In the backup copy of the site, we had files such as "\assets\inc\images\.svn\prop-base\textlogo.gif.svn-base" - but there were more hidden files post-hack (e.g. "\assets\images\.thumb_busy.gif"). Would it just be best to delete all hidden files?
            • 3749
            • 24,544 Posts
            If there’s an .svn file in each of the main directories, the odds are that your former webmaster got the installation via SVN. The only reason I can think of to keep the .svn files is if you might ever want to update the site from SVN using an SVN client. It sounds like that’s very unlikely and the safest thing would be to just delete them all.
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 17261
              • 18 Posts
              I don’t ever plan to use subversion, I use Fugu/Cyberduck to upload/update files.

              Thanks for the responses, everyone!

              ~liurr90