LinuxQuestions.org
Register a domain and help support LQ
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-18-2003, 06:46 AM   #1
SchwipSchwap
Member
 
Registered: Aug 2002
Distribution: Suse8.0, Mandrake, Knoppix
Posts: 92

Rep: Reputation: 15
Question samba share directory


Hi!

How can i share a directory which is out of my home dir?

Konquerer dosnt allow

THX SchwipSchwap
 
Old 05-18-2003, 07:07 AM   #2
Nukes
Member
 
Registered: Apr 2003
Location: Scotland UK
Distribution: Gentoo
Posts: 92

Rep: Reputation: 15
in /etc/samba.smb.conf, you want a section like this:
Code:
[myshare]
   comment = Shared folder
   path = /usr/somewhere/shared
   valid users = you afriend
   public = no
   writable = yes
   printable = no
   create mask = 0765
if you don't want to mess about with smbusers, then set it to share-level security earlier in the file. If you want user-level security, you will have to add the users with smbpasswd. You're best off reading the manpage for that as how you use it varies depending on your setup.
there's a lot of help for you in the /etc/samba/smb.conf have a read of it and set anything you will need by hand.
 
  


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
Samba - Share definition on a folder under a home directory craig467 Linux - Software 9 06-07-2005 03:29 AM
Samba :share files from home directory to an other user flashdelux Linux - Software 0 11-29-2004 12:57 PM
Authenticating to Samba share using "Active Directory Server" hlslaughter Linux - Software 36 07-23-2004 10:59 AM
share a samba directory with the command line Mugatu Linux - Software 2 01-08-2004 01:44 PM
How could i hide some files in the share directory(samba) whepin Linux - General 1 12-20-2001 07:10 AM


All times are GMT -5. The time now is 04:42 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration