Solved

Samba : How to create a public directory for everyone?

Posted on 2011-03-07
2
474 Views
Last Modified: 2012-06-27
I want to create a folder available for everyone to access, add files, delete files, access folders and delete them ( total control) all this in Samba
0
Comment
Question by:david875
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Expert Comment

by:Craig Bowman
ID: 35059231
Check out: http://micheljansen.org/blog/entry/182

This will more than likely provide you with the answer you are looking for.
0
 
LVL 7

Accepted Solution

by:
zakar1a earned 500 total points
ID: 35059325
follow these steps:

sudo mkdir /home/Share
sudo chmod 777 /home/Share
sudo gedit /etc/samba/smb.conf

Make sure to have this line :

security = user

Then add your folder is your config like this in Share Section:

[Share]
    comment = Shared files
    path = /home/public
    public = yes
    writable = yes
    create mask = 0777
    directory mask = 0777
    force user = nobody
    force group = nogroup

that's all
0

Featured Post

Limited time offer using promo code EXPERTS25

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through August 31, 2017, Experts Exchange members get 25% off the US7220 on the ATEN USA eShop using promo code EXPERTS25.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question