View Full Version : [ubuntu] How to make a shared folder please?
August 16th, 2008, 09:33 PM
I have a linux set top box, and have created a NAS mount to my windows machine.
Now i would like to create the same on my laptop.
I have a folder on my ubuntu laptop which i want to share. I right click on it > sharing options > ticked share this folder.Then clicked on create share.
But i keep getting:
'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
You do not have permission to create a usershare. Ask your administrator to grant you permissions to create a share.
Can someone please guide me
August 16th, 2008, 09:35 PM
Have a look here: http://ubuntuforums.org/showthread.php?t=202605
August 16th, 2008, 09:36 PM
I had that problem before when my system wasn't updated, have you run all the updates in your system?
August 16th, 2008, 09:55 PM
@lisati not sure if it's samba i need, as i need my linux stb to connect to my ubuntu laptop to share a folder. Is it not NAS (maybe i am mixing things up)
When i did it from my windows pc, i made a folder, right click, properties and shared this folder over network.
From my stb i used Windows (CIFS)
Server Name/IP : enter your server name or IP
Remote Path : enter remote path ( e.g /my_shared_folder)
Username : enter username needed to log in
Password : enter password needed to log in, if password isn’t needed stay <no password>
Domain : enter domain name, must be the same what is on server
This all went fine.
The linux options i have on my stb are
If selected is Unix/Linux ( NFSv3):
Server Name/IP : enter the server name
Remote Path : enter remote path
Save Configuration : enter to confirm changes
Does this make any more sence?
@jualin yes mate my system is upto date
August 16th, 2008, 10:06 PM
I suspect you are using samba (at a guess you installed the nautilus-share package). In that case you probably need to reboot your machine to synchronise your login and smb passwords. Once thats done you should be able to share the folder quite happily.
You will want to use the windows settings (cifs) to connect to the samba share though, not nfs, thats a different kettle of fish.
Hope that helps
August 16th, 2008, 10:22 PM
That was it, just needed to reboot:lol:
Thanks to all for answering
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.