This is the mail archive of the cygwin@cygwin.com 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] | |
While tracking down a PostgreSQL problem, I uncovered that chmod()
appears to have no affect on AF_UNIX sockets on recent Cygwin versions.
The attached test case, afunix.cc, demonstrates the problem:
$ # Cygwin 1.3.22-1
$ afunix
$ ls -l /tmp/.afunix
srwx------ 1 jt Domain U 0 Mar 19 15:57 /tmp/.afunix
$ # Red Hat Linux 8.0
$ afunix
$ ls -l /tmp/.afunix
srwxrwxrwx 1 jt dev 0 Mar 19 17:13 /tmp/.afunix
$ # Cygwin 1.3.18-1
$ afunix
$ ls -l /tmp/.afunix
srwxrwxrwx 1 jt Domain U 0 Mar 19 17:13 /tmp/.afunix
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Attachment:
afunix.cc
Description: Text document
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.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] |