The AML [access] function results are incorrect for Samba server files; therefore, affecting the Arctools and Forms command.
最後に公開された状態: August 25, 2014No Product Found
不具合 ID 番号
NIM031673
送信されました
January 30, 2008
最終更新日
June 5, 2024
適用対象
No Product Found
見つかったバージョン
8.2
ステータス
Will Not Be Addressed
開発チームは、この問題またはリクエストを検討した結果、これに対処しないことに決定しました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
No Public Explanation
対処法
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!'