Cathy Zhou wrote:
>> * 256: I meant to ask before; what is the purpose of the chmod() here? 
>> We created the directory with mode 0755 at 241.
>>
> This is for the case that the /etc/svc/volatile/dladm directory already 
> exists with a different permission. The code used to check whether 
> statbuf.st_mode is 0755 and only call chmod() when it is not, but a 
> reviewer of UV said that check is not necessary, and we can simply 
> "blindly" chmod() it to 0755.

Okay, fair enough.
Thanks,
-Seb

Reply via email to