LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-14-2011, 03:18 PM   #1
kk5pa
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Rep: Reputation: Disabled
Unhappy 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..
 
Old 12-15-2011, 08:56 AM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
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!)
 
Old 12-15-2011, 11:17 AM   #3
kk5pa
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
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...
 
Old 12-15-2011, 11:19 AM   #4
kk5pa
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Wish they hadn't screwed up Ubuntu..
 
Old 12-15-2011, 06:36 PM   #5
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
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...
 
Old 12-15-2011, 07:30 PM   #6
kk5pa
LQ Newbie
 
Registered: Dec 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
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..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs server - sharing folder - folder permission dlugasx Linux - Server 1 02-15-2011 12:30 AM
Folder Sharing Shnooter Linux - Newbie 3 04-18-2009 02:31 PM
Sharing a Folder carlosinfl Linux - Networking 1 06-05-2007 04:43 PM
sharing folder kumary Linux - Networking 3 12-05-2005 06:42 AM
folder sharing problem jnev Linux - Networking 5 06-23-2005 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration