Traceback when trying to use “Advanced Edit” on NFS share. Traceback occurs when hitting submit. Error occurs if “Enter manual export entries blow.” textbox is empty or if it has valid data.
Rockstor version is 3.8.16-8
Detailed step by step instructions to reproduce the problem
Navigate to Storage → File Sharing, NFS. Click Advanced Edit. Click submit.
Web-UI screenshot
Error Traceback provided on the Web-UI
Traceback (most recent call last):
File "/opt/rockstor/src/rockstor/storageadmin/views/nfs_exports.py", line 138, in refresh_wrapper
refresh_nfs_exports(exports)
File "/opt/rockstor/src/rockstor/system/osi.py", line 472, in refresh_nfs_exports
bind_mount(exports[e][0]['mnt_pt'], e)
File "/opt/rockstor/src/rockstor/system/osi.py", line 442, in bind_mount
run_command([MKDIR, '-p', export_pt])
File "/opt/rockstor/src/rockstor/system/osi.py", line 109, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = ['/bin/mkdir', '-p', '/export/data/.data_201612310300']. rc = 1. stdout = ['']. stderr = ['/bin/mkdir: cannot create directory \xe2\x80\x98/export/data/.data_201612310300\xe2\x80\x99: Operation not permitted', '']