[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Windows permissions are not kept for files

From: Sebastian Baumhekel <sebastian.baumhekel_at_gmail.com>
Date: Mon, 14 Sep 2015 07:51:42 +0200

First of all, thank you for the workaround.

Could this issue also arise if a file gets updated?
My colleague claims that another person changed a file and committed it.
And when he then updated this file, it was changed (as intended) but also
the permissions were reset like in my example.
Maybe you could shed some light onto this?

Thank you and best regards,

Sebastian

2015-09-12 16:49 GMT+02:00 Stefan Küng <tortoisesvn_at_gmail.com>:

> On 10.09.2015 08:12, Sebastian Baumhekel wrote:
> > Hi all,
> >
> > This was outlined to me by a colleague and I was able to reproduce it
> > and document it.
> > I'm sorry that the screenshots are in German as my OS is German.
> > But feel free to ask, if something is unclear.
> >
> > /Steps to reproduce:/
> > Checkout a working copy of a folder containing some files in subversion.
> >
> > Change permissions to include another group (i.e. IIS_IUSRS) and force
> > inheritance to the contained objects:Inline-Bild 2
> >
> > Now look at the permissions of the file "LICENSE" in this folder, it
> > just inherits its parents permissions:
> > Inline-Bild 3
> >
> > Change the file, save it and the revert it using TortoiseSvn.
> > Look at the permissions of the file again:
> > Inline-Bild 4
> > They show a different set of permissions and the inheritance is disabled
> > as well.
> >
> > /What is expected:/
> > The permissions should be kept.
> > So if a file inherits its parents permissions, it should do so as well
> > when it is changed by subversion.
>
> Yes, the reverted file/folder is created from scratch. So it doesn't
> know about changed permissions.
> If you want to keep the permissions, you have to deactivate the setting
> "Use recycle bin when reverting" in Settings dialog->General->Dialogs 1.
>
> That feature first moves all files/folders to the recycle bin (i.e.,
> deleting them) and then reverts them. That way you can recover reverted
> items from the recycle bin. But of course, that leads to changed
> permissions getting lost.
>
> Stefan
>
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest interface to (Sub)version control
> /_/ \_\ http://tortoisesvn.net
>
> ------------------------------------------------------
>
> http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3137259
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe_at_tortoisesvn.tigris.org].
>

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3137456

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-09-14 07:52:11 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.