X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4ABA36C7.2070800@gmail.com> Date: Wed, 23 Sep 2009 16:55:03 +0200 From: Nicolas Charles User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Automatisation of deployement of home-made package, and file permissions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hello, I'm trying to automate the deployement of applications on computers, so I created a package (let's call it mypackage-3.0) So I created a mypackage-3.0.tar.bz2 with all the necessary files, and a /etc/postinstall/mypackage.sh script to set up files permissions. I added the package in a local repository folder, modified the setup.ini to add the package and make it preselected. Then I hit setup.exe, everything seems to go fine : my package is there, decompressed, the mypackage.sh is executed. However, no file permission is changed (on a Win2K, all files have 777 permission, on a Win2k3 it's 750) I know the script is executed, for I have a mypackage.sh.done file I don't even understand why the file permissions are not the ones of the original files (tar.bz2 ought to keep the original file permission, and i tried by deflatting the archive, resulting in the right permissions) The script works: if I run it, the files are modified as I would expect What should I do ? Best regards, Nicolas -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple