LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2009, 01:09 PM   #1
jens1245
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 5
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!
 
Old 05-31-2009, 01:29 PM   #2
saagar
Member
 
Registered: Jul 2008
Location: Chennai, India
Distribution: RHEL5, Ubuntu
Posts: 191

Rep: Reputation: 37
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.
 
Old 05-31-2009, 03:03 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
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.
 
Old 05-31-2009, 04:47 PM   #4
ddt007
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by jens1245 View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
creating files from windows on a samba share gives read-only permissions. lievendp Linux - General 5 12-17-2008 11:55 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 12:28 PM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 01:28 AM
Creating a Samba Write share Menestrel Linux - Software 1 01-11-2005 10:16 PM
Creating Samba Share on Secondary Hardrive subversivesoul Linux - Software 1 05-28-2004 10:20 PM


All times are GMT -5. The time now is 11:47 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration