You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eric Fetzer <el...@yahoo.com> on 2010/06/10 21:02:19 UTC
stcheckout on
When using stcheckout recursively in Linux, I'm getting a folder created with permissions of 666, and thus, it can't checkout anything below the folder out because it doesn't have permissions. Any way to say check out and give files / folders ??? perms?
Re: stcheckout on
Posted by reno <re...@free.fr>.
Eric,
You can change the "umask" of the ant user to change default permissions:
see http://www.dartmouth.edu/~rc/help/faq/permissions.html
S.
> The problem is that I'm trying to check out recursively. It creates the first folder, tries to create the second folder and crashes because it created the first with 666 perms. So it appears that stcheckout is rather jacked up in unix.
>
>
>
>
> ________________________________
> From: reno <re...@free.fr>
> To: Ant Users List <us...@ant.apache.org>
> Sent: Fri, June 11, 2010 12:57:45 PM
> Subject: Re: stcheckout on
>
> Eric Fetzer wrote:
>
>> When using stcheckout recursively in Linux, I'm getting a folder created with permissions of 666, and thus, it can't checkout anything below the folder out because it doesn't have permissions. Any way to say check out and give files / folders ??? perms?
>>
>>
>>
>>
> Eric,
>
> it seems that the <stcheckout> task does not support files permission[1]
> you could use after checking out the <chmod> task on your folder[2]
>
> [1] : http://nantcontrib.sourceforge.net/release/latest/help/tasks/stcheckout.html
> [2] : http://ant.apache.org/manual/Tasks/chmod.html
>
> hope this help
>
> S.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: stcheckout on
Posted by Eric Fetzer <el...@yahoo.com>.
The problem is that I'm trying to check out recursively. It creates the first folder, tries to create the second folder and crashes because it created the first with 666 perms. So it appears that stcheckout is rather jacked up in unix.
________________________________
From: reno <re...@free.fr>
To: Ant Users List <us...@ant.apache.org>
Sent: Fri, June 11, 2010 12:57:45 PM
Subject: Re: stcheckout on
Eric Fetzer wrote:
> When using stcheckout recursively in Linux, I'm getting a folder created with permissions of 666, and thus, it can't checkout anything below the folder out because it doesn't have permissions. Any way to say check out and give files / folders ??? perms?
>
>
>
Eric,
it seems that the <stcheckout> task does not support files permission[1]
you could use after checking out the <chmod> task on your folder[2]
[1] : http://nantcontrib.sourceforge.net/release/latest/help/tasks/stcheckout.html
[2] : http://ant.apache.org/manual/Tasks/chmod.html
hope this help
S.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: stcheckout on
Posted by reno <re...@free.fr>.
Eric Fetzer wrote:
> When using stcheckout recursively in Linux, I'm getting a folder created with permissions of 666, and thus, it can't checkout anything below the folder out because it doesn't have permissions. Any way to say check out and give files / folders ??? perms?
>
>
>
>
Eric,
it seems that the <stcheckout> task does not support files permission[1]
you could use after checking out the <chmod> task on your folder[2]
[1] :
http://nantcontrib.sourceforge.net/release/latest/help/tasks/stcheckout.html
[2] : http://ant.apache.org/manual/Tasks/chmod.html
hope this help
S.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org