Skip to content

can not edit trees on mac #3026

@joshStillerman

Description

@joshStillerman

Affiliation
MIT Plasma Science and Fusion Center

Version(s) Affected
MDSplus version: 7.139.28

Release: alpha_release_7.139.28
Browse: https://github.com/MDSplus/mdsplus/tree/alpha_release_7.139.28
Download: https://github.com/MDSplus/mdsplus/archive/alpha_release_7.139.28.tar.gz

Platform(s)
intel macbook
% uname -a
Darwin Joshuas-MacBook-Pro-2.local 25.2.0 Darwin Kernel Version 25.2.0: Tue Nov 18 21:09:34 PST 2025; root:xnu-12377.61.12~1/RELEASE_X86_64 x86_64

Describe the bug
With default_tree_path=/tmp. (which I believe is apfs mount)
If I edit a tree and try to add a node it complains

Error was: %TREE-W-LOCK_FAILURE, Error locking file, perhaps NFSLOCKING not enabled on this system

To Reproduce

% export default_tree_path=/tmp
% mdstcl
TCL> edit /new ss
TCL> add node noop /usage=numeric
Error adding node noop
Error was: %TREE-W-LOCK_FAILURE, Error locking file, perhaps NFSLOCKING not enabled on this system
mdsdcl: --> failed on line 'add node noop /usage=numeric'
TCL> 

Additional context
Not yet tested on Arm based MAC

Metadata

Metadata

Assignees

Labels

bugAn unexpected problem or unintended behavior

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions