LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Sharing a folder (https://www.linuxquestions.org/questions/debian-26/sharing-a-folder-918755/)

kk5pa 12-14-2011 03:18 PM

Sharing a folder
 
I'm new to Debian.. been using Ubuntu.. Can't seem to share folders says 'net usershare' returned error 255: [2011/12/14 15:16:05.176759, 0] param/loadparm.c:7588(lp_do_parameter)
Ignoring unknown parameter "guest"
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. Tried everything I can think of nothing works..

Dutch Master 12-15-2011 08:56 AM

Give us some more background: how are you trying to share, what are your trying to share, do you have the required packages installed and configured?

Anyway, with the error message you gave, we can determine a bit more, and the key is this:
Code:

cannot open usershare directory /var/lib/samba/usershares. Error Permission denied
Essentially, it says that the /var/lib/samba/usershares directory doesn't have enough permissions to open it. Open a terminal, become root and do
Code:

chmod 777 /var/lib/samba/usershares
Try mounting the share again. If it still doesn't work, copy the exact error message here (and use the code tags, like I did, to distinguish between your comments and the error message!)

kk5pa 12-15-2011 11:17 AM

I tried it and got.. chmod: changing permissions of `/var/lib/samba/usershares': Operation not permitted.. I am trying to share a temp folder and music folder over my home network.. been using Ubuntu with no problems. Sharing to other linux and windowss computers. I can get files off others. but can"t get them off my Debian computer...

kk5pa 12-15-2011 11:19 AM

Wish they hadn't screwed up Ubuntu..

Dutch Master 12-15-2011 06:36 PM

Did you become root before you issued the chmod command? Actually, is there a /var/lib/samba/usershares directory? Install the swat package and configure Samba with that (it's a GUI, just for that purpose...)

As for your comment on Ubuntu: they made it too easy and thus Ubuntu users lack essential knowledge at times... :rolleyes:

kk5pa 12-15-2011 07:30 PM

It's shows up on other computers now. but access denied on other computers.. I'm about ready to try Mint.. tried it on my netbook and is working great..


All times are GMT -5. The time now is 04:27 PM.