Solved

Samba : How to create a public directory for everyone?

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AWS- KeepAlived notify script not working 23 104
Backup Raspberri Pi over the netowrk to a Windows Share 5 52
AWS ELB 5 96
bash file 10 51
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.

821 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