Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <006d01c13bc4$2d570130$391e10ac@dmonknt> From: "David Monk" To: Subject: Bash script permissions Date: Wed, 12 Sep 2001 14:50:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 I am running the latest net realease on NT 4 and Win 2k. I am having a problem limiting, from cygwin, the permissions on a bash script so that only the owner can execute it. I finally after much fiddling figured out that with the shebang line in the script, cygwin immediately thinks it's executable by all. If I try any chmod affecting it's executable status, it's ignored. How can I work around this? Also, how can this be worked around on Win9x also, as it is planned to eventually distribute this script set. Thanks, David Monk CCNA. MCSE david AT purplebear DOT net -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/