delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/10/24/18:31:38

From: cgf AT cygnus DOT com (Christopher Faylor)
Subject: Re: patch to winsup981020: symlink permissions
24 Oct 1998 18:31:38 -0700 :
Message-ID: <19981024211754.A974.cygnus.cygwin32.developers@cygnus.com>
References: <36320558 DOT B7D63472 AT cityweb DOT de>
Mime-Version: 1.0
To: Corinna Vinschen <corinna DOT vinschen AT cityweb DOT de>,
cygwin32-developers AT cygnus DOT com

On Sat, Oct 24, 1998 at 06:50:32PM +0200, Corinna Vinschen wrote:
>I want to suggest a simple patch. Under U*X and Linux, symlinks
>doesn't have explicit permissions. It's needless, because the
>permissions of the original file are used in fact. So a `ls -l'
>on a symlink looks like
>
>  lrwxrwxrwx 1 user  group    14 Oct 24 16:28 link -> orig
>
>If one generates a symlink with cygwin-dll, the links _have_
>typical permission bit settings.
>
>  lrwxr-xr-x 1 user  group    14 Oct 24 16:28 link -> orig
>
>I would appreciate, if the
>following patch is made to path.cc, which would better reflect
>the behaviour of U*X like operating systems.

Applied.

cgf

- Raw text -


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