Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 90D769A4E for ; Thu, 27 Oct 2011 09:15:30 +0000 (UTC) Received: (qmail 69846 invoked by uid 500); 27 Oct 2011 09:15:29 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 69831 invoked by uid 500); 27 Oct 2011 09:15:29 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 69823 invoked by uid 99); 27 Oct 2011 09:15:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 09:15:27 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [192.109.42.8] (HELO einhorn.in-berlin.de) (192.109.42.8) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Oct 2011 09:15:18 +0000 X-Envelope-From: stsp@stsp.name Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id p9R9Etjp008810 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 27 Oct 2011 11:14:55 +0200 Received: from ted.stsp.name (stsp@localhost [127.0.0.1]) by ted.stsp.name (8.14.5/8.14.3) with ESMTP id p9R9EtKY013123; Thu, 27 Oct 2011 11:14:55 +0200 (CEST) Received: (from stsp@localhost) by ted.stsp.name (8.14.5/8.14.3/Submit) id p9R9EtfE030839; Thu, 27 Oct 2011 11:14:55 +0200 (CEST) Date: Thu, 27 Oct 2011 11:14:55 +0200 From: Stefan Sperling To: romaric rillet Cc: users@subversion.apache.org Subject: Re: read-only attribut Message-ID: <20111027091455.GA10691@ted.stsp.name> Mail-Followup-To: romaric rillet , users@subversion.apache.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 On Wed, Oct 26, 2011 at 10:27:24PM +0200, romaric rillet wrote: > Hi, > > I have un file with the filesystem read-only attribut. > I commit this file with . > Since version 1.7, the filesystem read-only attribut is removed by the > commit operation. > > I would like to keep this attribut ( like with version 1.6 ). There is built-in support for keeping this attribute. But there are two ways to work around this limitation: 1) Use the 'asvn' script instead of 'svn', see https://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/asvn This script requires bash so you need cygwin to run it on windows. 2) Set the svn:needs-lock property on the file. The file will be marked read-only upon checkout. Running 'svn lock' on the file will make it writable, and after commit the file will be read-only again.