delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/25/19:28:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 25 Dec 2004 16:28:36 -0800
From: Jeremy Lin <jjlin AT OCF DOT Berkeley DOT EDU>
To: cygwin AT cygwin DOT com
Subject: chmod on named pipes
Message-ID: <20041226002836.GQ18385@OCF.Berkeley.EDU>
Mime-Version: 1.0
User-Agent: Mutt/1.4.2i
X-Spam-Status: No, hits=-3.5 required=5.0 tests=BAYES_00 autolearn=ham version=2.64
X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11)

Hi,

I'm trying to get a program running on Cygwin, but this program depends
on being able to change permissions on a named pipe. chmod doesn't
actually seem to work for this, but it doesn't return nonzero either.

From what I can see, the mode argument in the initial mkfifo call is
respected, but I can't actually change the mode after it's been created.

Is this a known limitation, or am I missing something? I also tried
looking at the cygwin dll source to see how chmod is implemented, but
haven't had much luck finding the right spot as of yet (if it's even in
that particular package), so any pointers there would be appreciated.

Thanks,
Jeremy

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019