05-15-2012 04:02 PM
I have found a way to read/write but not delete and it works PERFECTLY!!!
You need to download Putty and WinSCP. SSH into MBL as root with password welc0me using Putty and WinSCP. If you want to access the folder with WD2go then create the folder in the WD Dashboard. If you don’t care to access them with WD2go the you can just use the mkdir command in Putty or create the folder in WinSCP.
After you have created your folder, open Putty and create a new user and cd to where you created the folder. WD Dashboard places created shares in /DataVolume/shares
adduser userone cd /DataVolume/shares
(replace “NewFolder” with your folder name)
chmod 0770 NewFolder chown userone:userone NewFolder chmod g+s Newfolder chmod +t NewFolder ll
(Running the ll command should show you this: drwxrws--T 2 userone userone 65536 May 14 22:06 NewFolder)
Now go into WinSCP navigate to /etc/samba/smb.conf Edit the file and add this to it:
[NewFolder] comment = My NewFolder Data path = /DataVolume/shares/NewFolder read only = no guest ok = yes browseable = yes inherit owner = yes directory mode = 3770 force directory mode = 3770
If you created the NewFolder with the WD Dashboard, then also go to /etc/samba/overall_share Edit the file and remove the [NewFolder] samba info.
Go to /etc/samba/smb-global.conf Edit the file and change the acl check permissions line to:
acl check permissions = true
This allows the display of an error message to the user when they try to delete a file or folder.
Once you have done all this, go back to Putty and type:
/etc/init.d/samba restart
That’s it! You should be good to go. This works like a charm for me, hope it helps you.![]()
Solved! Go to Solution.
05-16-2012 07:51 AM
Thanks for sharing. ![]()
| Forums | Ideas | News and Announcements | Register | Sign in | Help | Forum Guidelines | |
