delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/05/12:19:10

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0 tests=BAYES_40,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <29077481.post@talk.nabble.com>
Date: Mon, 5 Jul 2010 09:18:51 -0700 (PDT)
From: ppmoore <polomora AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Accessing Windows files from Cygwin
MIME-Version: 1.0
X-IsSubscribed: yes
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

Hello,

I' trying to use a BASH script running on Cygwin to change the name of a
large number of Windows files. The filenames are in DOS 8.3 format. My
script reads a translation file that lists each DOS 8.3 filename, and the
corresponding correct filename. 

The problem is that the script cannot change the filenames because it
doesn't have sufficient priority.

On Cygwin, the files are listed as follows:
    http://old.nabble.com/file/p29077481/cygwin.png 

On Windows, I manually modified the file to have the permissions:
    Authenticated Users: Full control
    Users (<machine name>\Users): Full control
     http://old.nabble.com/file/p29077481/win7.png 

I'm running Cygwin from the same Windows accounts I use to access these
files,

Why, when I manually change the file permissions from Window, are the
updated permissions not visible from within Cygwin? Why can't I modify the
permissions from within Cygwin, since it is the same account?

I've rerread the Cygwin documentation (Chapter 2), but I couldn't see
anything there.

Can anyone help?
Paul

-- 
View this message in context: http://old.nabble.com/Accessing-Windows-files-from-Cygwin-tp29077481p29077481.html
Sent from the Cygwin list mailing list archive at Nabble.com.


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

- Raw text -


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