This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Accessing Windows files from Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]