delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/08/02/14:30:06

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Mon, 2 Aug 1999 22:26:03 +0400
From: Egor Duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.029) S/N A0F2A05A
Reply-To: Egor Duda <deo AT logos-m DOT ru>
Organization: DEO
Message-ID: <10934.990802@logos-m.ru>
To: Corinna Vinschen <corinna AT vinschen DOT de>
CC: cygwin-developers <cygwin-developers AT sourceware DOT cygnus DOT com>,
Chris Faylor <cgf AT cygnus DOT com>
Subject: chown and chmod for /dev/*
Mime-Version: 1.0

Hi!

  If one thy to call "chown" of "chmod" functions for cygwin-emulated
files like /dev/tty0 they'll return (-1) and error "path not found".
It doesn't seem to be a major issue -- the only place i've seen, which
is affected by this is sshd, which prints a warning message. But it
certanly could break other programs.
Quick solution is to check win32_path.is_device() in this functions.
Or files like <win32p_path_for_"/">\dev\tty0 should be created to hold
security info -- as more unix-like way?

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


- Raw text -


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