Help! XCACLS fails! Alternative solution

P

Paul

Hello,
We have been using XCACLS to modify permissions on
Windows 2000 Servers and files systems that reside on unix
systems which has ntfs permissions on it. However we
noticed that even with the /Y /C options, many times
XCACLS fails to process certain directories which are
either too long and/or has some characters such as ,;-/
etc., The directories and files with such characters and
lengh exist. But XCACLS completely aborts inspite of
the /C, /Y options as soon as it encounters such long
directories and filenames.

Typically this is what we give :

xcacls x:\dir1 /E /T /C /G user1:F /Y

and then it recursively goes through all directories and
files. But on several long directories/filesnames we get
the following error and then it aborts:


"The filename, directory name, or volume label syntax is
incorrect."

and problem with filenames/directory names such as:
"DD1A DCTC Comparison Table for Internal Design
Verification (DD200, x16, 85C, -10C, 1."


There are several directories like this at different
levels. We couldn't possibly do this manually. Any
advise on what other sophisticated tools that we can use
and is fool proof. Or is there any other way we could
rectify this?
 
C

Christopher Calvin

I've never tried using it in scenarios such as this, but we use supercacls
and subinacl in many ways. You could try those.


Hello,
We have been using XCACLS to modify permissions on
Windows 2000 Servers and files systems that reside on unix
systems which has ntfs permissions on it. However we
noticed that even with the /Y /C options, many times
XCACLS fails to process certain directories which are
either too long and/or has some characters such as ,;-/
etc., The directories and files with such characters and
lengh exist. But XCACLS completely aborts inspite of
the /C, /Y options as soon as it encounters such long
directories and filenames.

Typically this is what we give :

xcacls x:\dir1 /E /T /C /G user1:F /Y

and then it recursively goes through all directories and
files. But on several long directories/filesnames we get
the following error and then it aborts:


"The filename, directory name, or volume label syntax is
incorrect."

and problem with filenames/directory names such as:
"DD1A DCTC Comparison Table for Internal Design
Verification (DD200, x16, 85C, -10C, 1."


There are several directories like this at different
levels. We couldn't possibly do this manually. Any
advise on what other sophisticated tools that we can use
and is fool proof. Or is there any other way we could
rectify this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top