Folder depth & cacls



I am trying to edit the permissions of two folder trees (on 2 servers) using
either cacls or xcacls (want to add permissions for a specific group so don't
want to use the GUI) and am hitting a problem related to the folder depth
and/or path length. The process runs so far but then fails and I'm pretty
sure it's related to the depth of some folders.

Getting either "The data area passed to a system call is too small" or "The
filename, directory name, or volume label syntax is incorrect." dpending on
which server I run it on.

If I knew that it was only affecting a couple of folders I would just go
down one level and run the command there but I know this is NOT the case as
there are a LOT of folders to run through.

Does anyone have any ideas for a workaround for this - maybe using a script
or something ?

Thanks



.



Relevant Pages

  • Re: Excel VBA: moving folders on the server
    ... > I coded VBA in Excel 2003 to move folders on the server. ... It fails when I run the file on the server, ...
    (microsoft.public.excel.programming)
  • Re: Compile Problem: BC31011- Access is denied
    ... Tried disabling anti-virus and did not resolve problem. ... account does have proper access to folders: If it did not it would always ... In my case it sporadically fails: ... I stateds win2003 server OS: ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Anti Virus software
    ... I'm not in the habit of downloading viruses on purpose ... fails here as nothing is in a default postion. ... updates. ... /applications not within the folders ie /applications/music players say ...
    (uk.comp.sys.mac)
  • Excel VBA: moving folders on the server
    ... I coded VBA in Excel 2003 to move folders on the server. ... It fails when I run the file on the server, ...
    (microsoft.public.excel.programming)
  • Re: How to check output folder has been created in the network path?using VBA programming
    ... No it doesn't, it returns 0 if it fails, that is it doesn't create one or ... more folders, ... Bob Phillips ... > Declare Function PathFileExists Lib "shlwapi.dll" Alias "PathFileExistsA" ...
    (microsoft.public.excel.programming)

Loading