PDA

View Full Version : [ubuntu] Samba can be a PAIN



Geffers
January 20th, 2013, 08:17 PM
Why can samab be such a pain.

I want to share some of my laptop files over my local network with my Nexus.

I have allowed guest, read'write to anybody but it fails telling me there are permission problems.

An old desktop has been sharing files across my network with anyone for ages, grrr!!!

geffers

circa
January 20th, 2013, 09:13 PM
LOL. I had the same issues with it too. I just used SSH. It's a primitive approach, but It worked when Samba wouldn't.

Morbius1
January 20th, 2013, 11:42 PM
I have allowed guest, read'write to anybody but it fails telling me there are permission problems.Two sets of permissions. Telling Samba that any remote user has read / write permissions tells it what that user may do. But it has no authority over Linux permissions that dictates what that user can do.

What are the linux permissions of the folder that you shared:

ls -dl /path/to/shared/folderIt has to come back with: drwxrwxrwx in order for this to work ... unless you did something exotic in your smb.conf.

BTW, Providing additional details is always helpful in these cases so you might want to post the output of the following commands when you get a sec:

testparm -s
net usershare info --long

martinvincent
January 21st, 2013, 07:52 AM
post ur smb.conf file...