delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/01/12:36:17

X-Spam-Check-By: sourceware.org
Message-ID: <6c899b670702010935u4b0b938ag957124d14af1f8e5@mail.gmail.com>
Date: Thu, 1 Feb 2007 18:35:38 +0100
From: "Marko Loparic" <markolopa AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Permission denied problem
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

Is there a way to make cygwin executables to have the same permission
rights as cmd.exe or other windows applications?

For the moment I can't access a directory inside cygwin:

$ ls /cygdrive/x/PPP/QQQ
ls: cannot open directory /cygdrive/x/PPP/QQQ/: Permission denied

Windows applications like windows explorer, emacs (windows emacs not
the one from cygwin) navigate inside the QQQ directory without
problems.

Using DOS cmd.exe window I can make the dir command on the QQQ directory:

X:\PPP\QQQ>dir
22/11/2006  15:48    <DIR>          RRR
05/01/2007  17:23    <DIR>          SSS

However using cygwin ls from DOS does not work:

X:\PPP\QQQ>c:\cygwin\bin\ls.exe
/usr/bin/ls: cannot open directory .: Permission denied

while it works fine on other directories.

Checking the permissions of the QQQ directory I realise that
effectively the IT staff in charge of the windows network has
restricted to permissions to it (I couldn't guess what they mean). I
have little hope to have their help to solve the problem, that is why
I would like  to get ls to have the same rights as dir.

Cygwin does not tell me much about the permissions of the directory.

$ ls /cygdrive/x/PPP | grep QQQ
drwxr-xr-x 1 marko mkgroup-l-d 0 Jan 31 10:25 QQQ

Thank you very much in advance,
Marko

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019