LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-10-2014, 04:52 PM   #1
12amr21
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
help in editing smb.conf


hi all
i mean ineed to protect files from being delete in public folder.
my smb.conf file sitting
Code:
[global]
        include = /etc/samba/smb_cust.conf

server string = Seagate Central Shared Storage
#
log file = /Data/log/log.smbd

max log size = 1024

log level = 0
        
load printers = yes
        
printing = cups
        
printcap name = cups
        
cups options = raw
        
socket options = TCP_NODELAY
        
min receivefile size = 1 ## disabled due to SOP receive file bug
        
use sendfile = yes
        
dead time = 15
        
security = user
        
auth methods = guest, sam_ignoredomain
        
encrypt passwords = yes
        
create mask = 0777
        
directory mask = 0777
        
null passwords = yes
        
map to guest = bad user
        
guest account = nobody
       
hide files = /.*/Network Trash Folder/Temporary Items/
        
veto files = /.AppleDesktop/.AppleDouble/.bashrc/.profile/
        
delete veto files = yes
        
vfs object = netatalk
        
store dos attributes = yes
        
include = /usr/private/user_smb_conf/.overall_share
can anyone help me with this .
thanks in advance
 
Old 02-11-2014, 12:36 AM   #2
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
Code:
[public]
comment = Public directory
path = /some/path/to/public/di
read only = Yes
above could be of help.
Also a good info here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
smb.conf ceh383 Slackware 3 03-07-2012 01:20 AM
smb.log / smb.conf problem (printcap) on VU+DUO tuner using Samba xlarge Linux - Newbie 0 01-04-2011 06:10 AM
smb.conf example xox Linux - Networking 7 10-09-2010 03:04 AM
Samba in Debian, smb.conf: smb passwd file = ?????????? henrnorl Linux - Software 1 10-06-2006 10:43 AM
samba conf smb.conf regnier Mandriva 5 02-17-2005 05:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration