Whenever I do a checkout/update on my SVN project using Tortoise the files all get set to read-only. Is there an option to stop this? I have 1 particular project where I need any checkouts/updates to never make files read-only.
Thanks
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityWhenever I do a checkout/update on my SVN project using Tortoise the files all get set to read-only. Is there an option to stop this? I have 1 particular project where I need any checkouts/updates to never make files read-only.
Thanks
Looks like your files has svn:needs-lock
set.
To check this, select TortoiseSVN -> Properties context menu on any locked file.
See http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-locking.html#tsvn-dug-locking-needs-lock for more information.
Also, it looks like you have Automatic property setting, that set needs-lock
on all new committed files automatically.
Select TortoiseSVN->Settings, General tab, click Edit button to see subversion configuration file. See, if enable-auto-props = yes
string is uncommented, and if there are some uncommented lines in [auto-props]
section.
Or probably you have project properties set on some parent folder (e.g., trunk) as recursive. To check this, select TortoiseSVN -> Properties on project parent folders.
See http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-propertypage.html#tsvn-dug-propertypage-auto-props for more information.
I had this problem with a tool we use at work to use SVN as a Microsoft SCC provider (Provided by PushOK Software). It ran in the background and did things like this, which was extremely annoying. Once this was turned off the read-only issue never came up again.