Option setting for maxdsndirlevels
Option setting for maxdsndirlevels
What are the values that can be coded for option maxdsndirlevels? Is zero a valid value?
Re: Option setting for maxdsndirlevels
More information on the setting can be found here:
http://dovetail.com/docs/sftp/dsn-deter ... ndirlevels
but I notice that we don't list the option in the tables with all of the other options, nor do we list the default.
We will correct this.
The default is "NOmaxdsndirlevels", which means that this feature is not enabled.
Also, if you set maxdsndirlevels=0 then the feature will be disabled.
http://dovetail.com/docs/sftp/dsn-deter ... ndirlevels
but I notice that we don't list the option in the tables with all of the other options, nor do we list the default.
We will correct this.
The default is "NOmaxdsndirlevels", which means that this feature is not enabled.
Also, if you set maxdsndirlevels=0 then the feature will be disabled.
Re: Option setting for maxdsndirlevels
I had read the doc in the manual, but I was more concerned with what the values can be set at.
Also, I'm thinking of setting maxdsndirlevels to 1 or 2 at a system wide level so it will always assume a dataset vs a directory. Do you see any issues with do this?
Also, I'm thinking of setting maxdsndirlevels to 1 or 2 at a system wide level so it will always assume a dataset vs a directory. Do you see any issues with do this?
Re: Option setting for maxdsndirlevels
I don't see a problem doing this with a new setup. maxdsndirlevels=2 seems like a good default.
You would have to be careful if you changed the site-wide default - you could in theory break jobs or remote clients that depending on doing a "cd" to a level > maxdsndirlevels.
You would have to be careful if you changed the site-wide default - you could in theory break jobs or remote clients that depending on doing a "cd" to a level > maxdsndirlevels.