Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-1739

win32 dir creation should preserve perms

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • all
    • 1.3.0
    • libsvn_wc
    • None
    • Windows 2000

    Description

      if you rename a folder with
      
      svn mv original_foldername new_foldername
      
      then the .svn folder inside the 'new_foldername' folder looses (or better: 
      never gets set) the hidden attribute in windows.
      This is a little inconsistent because usually those folders are hidden.
      
      comments from Ben:
      Ha, sure enough, look at the comment within
      svn_io_copy_dir_recursively().  (libsvn_subr/io.c:471)
      
      The function is just calling apr_dir_make() to create new directories in
      the target, whereas for files it's calling svn_io_copy_file(), which
      seems to have a special win32 section to preserve file perms (!)
      
      comments from Brane:
      Bork!
      
      1) This functionality should go into APR, but in the meantime, fixing the 
      directory creation on Windows should be simple. Could somebody please post a 
      1.0.1 issue with my name on it?
      
      2) "svn mv" shouldn'd have to copy files around if it's only renaming a 
      directory. It should just rename the dir and update the entries files.
      
      3) We need a new libsvn_wc.
      
      4) So what else is new...
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              steveking Stefan Küng
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: