Solved

Samba : How to create a public directory for everyone?

Posted on 2011-03-07
2
449 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:cbowman92
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

Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

Question has a verified solution.

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

Suggested Solutions

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

929 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now