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]

Files with Win32 "hidden" attribute


The archive contains repeated messages to the effect that Cygwin has
no concept of "hidden" files (except for dot-files), totally ignores
the "hidden" attribute, etc.

However, while I can create, read, add to (using ">>") and delete
files with this attribute set, I cannot overwrite them. For example:

jaipur:~$ echo xxx >foo
jaipur:~$ echo yyy >foo
jaipur:~$ attrib +h foo
jaipur:~$ echo zzz >foo
bash: foo: Permission denied
jaipur:~$ echo zzz >bar
jaipur:~$ cp bar foo
cp: cannot create regular file `foo': Permission denied
jaipur:~$ attrib -h foo
jaipur:~$ echo zzz >foo
jaipur:~$ cp bar foo
jaipur:~$

In case this is happening because of some local misconfiguration, I've
attached cygcheck output.

If it is actually a genuine problem, is it something that can be
fixed? It's a nuisance having Cygwin's behaviour affected by something
it officially takes no notice of.

John Smith

--
Dr J. D. Smith               *  jds10@cam.ac.uk
Faculty of Oriental Studies  *  http://bombay.indology.info
Sidgwick Avenue              *  Tel. +44 (0)1223 335140
Cambridge CB3 9DA            *  Fax  +44 (0)1223 335110

Attachment: cygcheck.out
Description: Text document

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

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