Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to share public folders with read only permission (Authentication=Yes)?

  1. Read General Notes
  2. Read How to install Samba Server for files/folders sharing service?
  3. sudo mkdir /home/public
    sudo chmod 777 /home/public/
    sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
    sudo gedit /etc/samba/smb.conf
  4. Find this line
    ...
    ;   security = user
    ...
  5. Replace with the following lines
       security = user
       username map = /etc/samba/smbusers
  6. Append the following lines at the end of file
    [public]
       comment = Public Folder
       path = /home/public
       public = yes
       writable = no
       create mask = 0777
       directory mask = 0777
       force user = nobody
       force group = nogroup
  7. Save the edited file (sample)
  8. Read How to add/edit/delete network users?
  9. sudo testparm
    sudo /etc/init.d/samba restart
The Unofficial Ubuntu Starter Guide
Prev Home Next

 
 
  Published under the terms of the GNU General Public License Design by Interspire