[Bob.Burger@sagian.com: 1.3.19: Everyone has write access to .lnk symbolic link files]
Pierre A. Humblet
Tue Feb 4 19:09:00 GMT 2003
At 06:31 PM 2/4/2003 +0100, Corinna Vinschen wrote:
>According to the behaviour on Linux, the symlink should always have
>permissions like "rw-r--r--" and only stat() returns "rwxrwxrwx". The
>change is very easy
> /* symlinks are anything for everyone! */
> if ((attribute & S_IFLNK) == S_IFLNK)
> - attribute |= S_IRWXU | S_IRWXG | S_IRWXO;
> + attribute = STD_RBITS | STD_WBITS;
Those two lines can actually go away completely because attribute
is already set in path.cc . It should be changed there instead.
>and I actually doubt that it will negatively affect Cygwin but I'm not
>100% sure if I'm missing something.
>What do you think?
If you are missing something, so am I.
More information about the Cygwin-developers