Solved

Samba : How to create a public directory for everyone?

Posted on 2011-03-07
2
453 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
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
​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…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

786 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