Solved

Samba : How to create a public directory for everyone?

Posted on 2011-03-07
2
440 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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

762 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

11 Experts available now in Live!

Get 1:1 Help Now