Re: SVN and perms

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: jdawgaz@cox.net
Date:  
To: Main PLUG discussion list
CC: der.hans
Subject: Re: SVN and perms
you can do that in properties. you can set any property you want -- just make one up. like perms:rwxr-x--, or owner:joeuser, or group:newbie or just any old thing. just make sure you are not using a property that already exists.

my guess here is that you can have a hook that reads what permissions of the file are, and its owner (like ls -l file | awk ....)
and set the properties going in.

i would advise not setting owner and group on the way out however.

jerry


---- "der.hans" <> wrote:
> moin moin,
>
> it seems that SVN doesn't preserve permissions on files.
>
> It does have a way to set the execute bit, but nothing else.
>
> It also doesn't save ownership or timestamps.
>
> For those who need to maintain permissions and ownership, how do you do
> it?
>
> Do you run a post-checkout/-update script that goes through and resets
> perms and ownership?
>
> ciao,
>
> der.hans
> -- 
> #  https://www.LuftHans.com/        http://www.CiscoLearning.org/
> #  "It is appallingly obvious that our technology exceeds our humanity."
> #   -- Einstein
> ---------------------------------------------------
> PLUG-discuss mailing list - 
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss