>Gary Gendel <[EMAIL PROTECTED]> wrote:
>
>> Is there a Solaris equivalent to the lchmod library function found on Linux? 
>>  The chmod changes 
the protection of the file the symbolic link is pointing to whereas lchmod 
changes the protection o
f the link itself.  I couldn't find a direct replacement.  
>>
>> Of course I could roll my own, but I was wondering if I just missed it. Then 
>> again, is there som
e precept on Solaris that symbolic links should always have 0777 protection 
attributes?
>
>Solaris AFAIK ignores the mode of symlinks. 
>
>What do you like to achieve with this call?

There's one potential use: a chmod() call which doesn't follow
symlinks.  No race conditions, etc...

Casper
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to