Creating a file within Cygwin with setting SYSTEM attribute

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Sun Aug 29 08:34:00 GMT 2010


On Sat, Aug 28, 2010 at 08:50:46PM -0400, Paul McFerrin wrote:
>I have access to cpio sources that I would like to add support for 
>copying/creating Cygwin's symbolic links.  At present, any files I 
>create would be as regular files.  Any hints as how I would set this 
>attribute so I could create these symbolic links.  Does setting _IFLNK 
>in the mode automatically perform setting SYSTEM attribute?

If Cygwin's cpio didn't create symbolic links then there would be
something seriously wrong with it.  As it turns out, it *does* work as
expected so, if you're not seeing the correct behavior, then you're
probably not running using the Cygwin version of cpio.

cgf

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



More information about the Cygwin mailing list