Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-18-2003, 07:46 AM   #1
Registered: Aug 2002
Distribution: Suse8.0, Mandrake, Knoppix
Posts: 92

Rep: Reputation: 15
Question samba share directory


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

Konquerer dosnt allow

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

Rep: Reputation: 15
in /etc/samba.smb.conf, you want a section like this:
   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.


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

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

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