SVN and perms

jdawgaz at cox.net jdawgaz at cox.net
Wed May 30 15:43:54 MST 2007


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" <PLUGd at LuftHans.com> 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 - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list