LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Creating samba share (https://www.linuxquestions.org/questions/linux-newbie-8/creating-samba-share-729684/)

jens1245 05-31-2009 12:09 PM

Creating samba share
 
I just created a samba share. When i connect to it on my mac it works. However the problem is that only the parent directory is fully shared. I can browse the other directories but not read or write them.

Here is the important part of my smb.conf

[share]
path = /home/user/share
public = yes


Thanks in advance!

saagar 05-31-2009 12:29 PM

please Check the permissions of the directory you are sharing...Also, in linux the /home/<username> directory has 700 permissions, which means no one else can read or write to that directory except the owner...also set appropriate permissions for your share so that you can read write to that directory after sharing. thanks.

jschiwal 05-31-2009 02:03 PM

If what you want to do is access files in your home directory while on another computer, it would be better to use "Security = User". Then you will have full access to your own home directory if they use the same credentials. If you want to share files with others, it would be better to create a directory outside of your home directory to do this. Loosening permissions of your home directory damages security. Some things like ssh won't work as a result.

ddt007 05-31-2009 03:47 PM

Quote:

Originally Posted by jens1245 (Post 3558242)
I just created a samba share. When i connect to it on my mac it works. However the problem is that only the parent directory is fully shared. I can browse the other directories but not read or write them.

Here is the important part of my smb.conf

[share]
path = /home/user/share
public = yes


Thanks in advance!

Access Windows Shared Documents and Printers
linux-centre.biz/index.php?option=com_content&view=article&id=66:access-windows-shared-documents-and-printers-in-ubuntu-&catid=39:software&Itemid=69


All times are GMT -5. The time now is 06:42 PM.