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]

Re: BSD file flags support in Cygwin?


On Nov 13 23:21, Bill Zissimopoulos wrote:
> Does Cygwin have any support for BSD file flags (UF_* flags, such as
> UF_HIDDEN, etc.)? These flags are often used to provide support for
> Windows file attributes (FILE_ATTRIBUTE_*, such as FILE_ATTRIBUTE_HIDDEN).
> 
> OSX and FreeBSD provide such support during stat(2) and chflags(2). I
> expect that Cygwin does not have such support, but wanted to double-check.
> 
> https://www.freebsd.org/cgi/man.cgi?query=chflags&apropos=0&sektion=2&manpa
> th=FreeBSD+11.1-RELEASE+and+Ports&arch=default&format=html

No, we don't support this.  We couldn't support it via stat anyway,
only via the extra chflags function group.  Patches welcome, as
long as it's the entire group of functions so chflags(1) compiles
OOTB.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: signature.asc
Description: PGP signature


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