X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.4 required=5.0 	tests=AWL,BAYES_00,J_CHICKENPOX_43,J_CHICKENPOX_53,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4A24E93E.7080005@gmail.com>
Date: Tue, 02 Jun 2009 01:56:30 -0700
From: Ian Kelling <ianowl@gmail.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: permissions questions
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I get permission denied when trying to launch this windows program UOAOS.exe 
from cygwin and I don't know why. Other programs with the same permissions 
launch fine. The filesystem is mounted without noacl.

  $ getfacl.exe UOAOS.exe
# file: UOAOS.exe
# owner: ian
# group: None
user::rwx
group::rwx
mask:rwx
other:rwx

$ ./UOAOS.exe
bash: ./UOAOS.exe: Permission denied

$ whoami
ian


It will run if I do run.exe UOAOS.exe. The file is a self-extracting zip file 
that runs a setup program after extracting. Also, in playing around with 
permissions, I recursively set my F drive with cygwin on it to be have acl 
from windows explorer of full access to Ian, Administrator and System, owned 
by ian and that is all. Should I change this? I just want permission stuff to 
work, I don't care about using posix permissions in any case where windows 
ones are more compatible.

Also, related question, what is the best way to get executables in various 
program\ files/dirs into your path for execution?

- Ian Kelling

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

