setAttributes Issue.

vino.B bheeman.vino at hotmail.com
Sun Jul 15 11:30:16 UTC 2018


On Sunday, 15 July 2018 at 10:07:49 UTC, vino.B wrote:
> Hi All,
>
>  Request your help, can some one find what is the issue with 
> the below code, as this is throwing the error "Access is 
> denied". as the below code is supposed to to remove the 
> read-only permission if set.
>
> [...]

Hi All,

  Was able to resolve this issue by removing the filter criteria


auto sDir  = Array!string (dirEntries(d[0], 
SpanMode.depth).filter!(a => !a.isSymlink) .map!(a => > 
(a.name)));

From,
Vino.B


More information about the Digitalmars-d-learn mailing list