Overview
Upon selecting the checkbox Can access SMB Volumes in the Users tab of the WebNative UI for a specific user, the setting is not saved and appears to be unchecked although SMB access is enabled for the user.
We are working to fix this issue in the future release of Xinet, but you can apply a workaround to resolve the issue for all existing versions, including v19.2.1.
Process
- Log in to the WebNative server via SSH.
- Navigate to the following directory:
/usr/etc/webnative/styles/admin/classic/
- Execute the following command to add write permissions to the user.js file:
chmod +w users.js
- Edit the user.js file in the text editor of your preference (i.e., Vi, Nano, Emacs, etc.).
- Go to line
619
and replace it with the following string:doc.writeln("></TD></TR><TR><TH align=left class=label>"+lang.userperms.uploadonly+":</TH><TD><INPUT type=checkbox name=uploadonly")
- Save the changes and exit from the text editor.
- Execute the following command to remove the write permissions to the user.js file:
chmod -w users.js
- Restart the Apache Web Server with the following command:
apachectl restart
- Clear your browser cache and reload the WebNative page.
Confirmation
Validate that the Can access SMB Volumes option stays checked after marking it for a certain user and saving the changes.
Comments
0 comments
Please sign in to leave a comment.