Cannot use just system variable name in path for local file rights

  • 7000623
  • 09-Jun-2008
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

ERROR: "Specify a valid path"
In a DLU policy, when using system variables to specify the path for local file rights, ZCC will not allow just the macro name to be used, the path must contain a backslash. For example ${mypath} is not acceptable, but ${mypath}\directory is allowed.

Resolution

This is fixed in version 10.1 - see KB 7001200 "ZENworks 10 Configuration Management with SP1 (10.1)" which can be found at https://www.novell.com/support

WORKAROUND

Split your variables into two parts - instead of say one variable called "mypath" that contains "C:\path1", create two: mypath1 with "C:" and mypath2 with "path1" and in the policy, enter ${mypath1}\${mypath2}

Unfortunately, this will not help if you are trying to use a built-in variable, such as ${programfiles}