laptop and a wrench

Bug

The AML [access] function results are incorrect for Samba server files; therefore, affecting the Arctools and Forms command.

Last Published: August 25, 2014 No Product Found
Bug ID Number NIM031673
SubmittedJanuary 30, 2008
Last ModifiedJune 5, 2024
Applies toNo Product Found
Version found8.2
StatusWill Not Be Addressed

Additional Information

No Public Explanation

Workaround

FROM CQ00126787:----------------------------User has workarounds:1) comment out check for accessor2) replace check using [ACCESS] with the following check:&sv fname = [scratchname -prefix xxx -file]&sv fu [open %fname% ostat -write]&if %ostat% = 0 &then &sv closestat = [close %fu%] &sv delstat = [delete %fname% -file] /* do processing&end--------------------------------------How to implement it in FORMS.AMLcopy the atool\arcplot\forms.aml to locale\c\atool\arcplot\forms.aml, and edit the locale version to not use the [access] function.&if not [access [dir [pathname [value specifier]]] -write] &then &do &type 'Insufficient Access!' &return&end /* if--- /*** /*** [access] fails on Samba drives (says it can't write) /*** /*&if not [access [dir [pathname [value specifier]]] -write] &then &do /* &type 'Insufficient Access!' /* &return /*&end /* if /*** Workaround (cprice, 01/28/2008) &s ff [scratchname -file -ext .txt] &s ch [open %ff% st -w] &if %st% eq 0 &then &do &s st [close %ch%] &s st [delete %ff%] &end &else &return &error 'Insufficient Access!'

Steps to Reproduce

Bug ID: NIM031673

Software:

  • No Product Found

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options