Could you execute umask command to be sure?

Else you can create a task that fixes the permissions and call it with an
after callback.

2011/3/10 Sylario <[email protected]>

> It does not seems to be related with umask, with all the user i tested
> created files have different permissions. And the file are not
> created, they are copied.
>
> On 10 mar, 11:43, Rafa García <[email protected]> wrote:
> > I suposse you have configured your system to create files with 770
> > permission. You can change the default permission (Hint: search for
> umask)
> > or you can create a after callback that change the permissions.
> >
> > Regards
> >
> > 2011/3/9 Sylario <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> > > I am using Capistrano v2.5.19.
> > > ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
> >
> > > My deploy.rb is fairly short and do nothing with files permissions.
> >
> > > Instead of my permission (755) he sets 770 to all the releases folder
> > > (including the one linked in current). How can i tel him to keep the
> > > permissions of the GIT repo (including the date named root folder)?
> >
> > > --
> > > * You received this message because you are subscribed to the Google
> Groups
> > > "Capistrano" group.
> > > * To post to this group, send email to [email protected]
> > > * To unsubscribe from this group, send email to
> > > [email protected] For more options, visit this
> group
> > > athttp://groups.google.com/group/capistrano?hl=en
>
> --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> * To post to this group, send email to [email protected]
> * To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/capistrano?hl=en
>

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to