X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=BAYES_00,DEAR_WINNER,SPF_HELO_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Chris Subject: File permissions on samba network share Date: Thu, 25 Mar 2010 06:50:28 +0000 (UTC) Lines: 27 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 Dear fellow Cygwinners, I use Cygwin to work on a samba network drive and am unable to execute bash scripts from there because "bash: ./amssetup: Permission denied". I think this is due to the missing owner/group info: $ ls -l amssetup -rwxrw---- 1 ???????? ???????? 1014 2009-12-15 14:16 amssetup If I mount this network drive using the "noacl" option, it looks like this: $ ls -l amssetup -rw-r--r-- 1 chris None 1014 2009-12-15 14:16 amssetup This lets the script execute, but I am a little bit worried about the other permissions, "-rw-r--r--" instead of "-rwxrw----". Why are the permissions different? Is there a way of preserving the original permissions and still fake the user/group info as with "noacl"? Or is it safe to use the "noacl" mount? Maybe there is another, cleaner way of accessing the samba share I have missed... I am still new to the Unix/Linux/Cygwin world =) Cheers Chris -- 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