Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to configure smb.conf for read and copy access only Post 302420229 by zaxxon on Tuesday 11th of May 2010 04:44:33 AM
Old 05-11-2010
I have a Samba 3.2.5-4 running on my Debian box and setting shares to read only = yes works fine (just tried it) to prohibit write permission. Also copying is fine since copying is just a reading action and not writing anything to the source location.
What you configured should work. After doing changes reload or restart your Samba.
This User Gave Thanks to zaxxon For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Samba 2.2.5 smb.conf for noobies

Is there a generic smb.conf file that should work on all systems? Right now I am running Red Hat 7.3 and also have 3XP machines and 1 2000 pro. (1 Reply)
Discussion started by: GJC
1 Replies

2. UNIX for Dummies Questions & Answers

swat's smb.conf file?

i am running samba 3 on solaris 9 i have a question where is the smb.conf located is it in /usr/local/samba/lib or private (6 Replies)
Discussion started by: rmuhammad
6 Replies

3. UNIX for Dummies Questions & Answers

smb.conf question

Folks; I know this might sounds stupid, but please help with this: I have share in my smb.conf on my SUSE 10 box. How can i make this share accessible to outside IP range or a specific IP address without need for user/pass? Here's the share as it's written in smb.conf: ; ;comment =... (0 Replies)
Discussion started by: Katkota
0 Replies

4. Shell Programming and Scripting

seeking help with perl to read named.conf

Hello, I am seeking help with someone with perl expertise that can create me a script that will read a named.conf file and create a csv or a text file on each of the zones that the named.conf contains. An excerpt of named.conf looks like: acl "our_nets" { 127.0.0.1/32; ... (2 Replies)
Discussion started by: richsark
2 Replies

5. SuSE

"scp" access denied:/etc/security/access.conf

Guys i have 2 SUSE Linux Enterprise Server 10 SP1 (i586) boxes.if i take a look into /etc/security/access.conf ,i see following lines at the eof # All other users should be denied to get access from all sources. #- : ALL : ALL - : myID : ALL now earlier i had written scripts where files... (1 Reply)
Discussion started by: ak835
1 Replies

6. Shell Programming and Scripting

crontab; copy most recent *.mpg file from local machine to smb storage device

Hello, I've been searching your forum for an answer to the following question and whilst I've seen several which may help I'm afraid my inexperience with UNIX systems has got the better of me and I'm incapable of piecing your considerable expertise together. Problem: I have a linux box which... (5 Replies)
Discussion started by: julezsht
5 Replies

7. Shell Programming and Scripting

perl read and write to conf file

Hi Everyone, There is a perl file: a.pl ============ #!/usr/bin/perl my $config_file = $ARGV; open CONFIG, "$config_file" or die "Program stopping, couldn't open the configuration file '$config_file'.\n"; my $config = join "", <CONFIG>; close CONFIG; eval $config; die "Couldn't... (1 Reply)
Discussion started by: jimmy_y
1 Replies

8. Solaris

samba read write access to owner and no access to other users

Hi All, I want to configure samba share permission so that only directory creator/owner has a read and write permission and other users should not have any read/write access to that folder.Will that be possible and how can this be achieved within samba configuration. Regards, Sahil (1 Reply)
Discussion started by: sahil_shine
1 Replies

9. UNIX for Dummies Questions & Answers

Smb.conf config help

So what i am trying to accomplish is the following: a share that is browse-able by every one on the network with a group of people that can write to it with out ownership problems. I am extremely new to samba/linux and any help would be greatly appreciated. It is a stand alone server running samba... (3 Replies)
Discussion started by: dcs
3 Replies

10. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies
smbnetfs(1)						      General Commands Manual						       smbnetfs(1)

NAME
smbnetfs - User-space filesystem for SMB/NMB (Windows) network servers and shares DESCRIPTION
usage: smbnetfs mountpoint [options] general options: -o opt,[opt...] mount options -h --help print help -V --version print version SMBNetFS options: -o config=PATH path to config (~/.smb/smbnetfs.conf) -o smbnetfs_debug=N SMBNetFS debug level (N<=10) -o smb_debug_level=N Samba debug level (N<=10) -o log_file=PATH File to store SMBNetFS debug messages -o local_charset=CHARSET Local charset (autodetected) -o samba_charset=CHARSET Charset used by samba (utf-8) -o use_gnome_keyring=BOOL Enable/disable usage of gnome-keyring -o gnome_keyring_timeout=T auth retrieving timeout for gnome_keyring (500ms) -o max_rw_block_size=N Maximum size of r/w block in Kb (autodetected) -o smb_tree_scan_period=T Period of scanning samba network tree (300s) -o smb_tree_elements_ttl=T TTL of scanned elements in samba tree (900s) -o smb_query_browsers=BOOL Enable/disable scanning of samba tree (on) -o show_$_shares=BOOL Enable/disable showing of hidden shares (off) -o show_hidden_hosts=BOOL See in documentation (off) -o free_space_size=N Free space size in pages (0) -o quiet_flag=BOOL Do not fail on chown/chgroup (on) -o stat_workaround_depth=N konquerror and gnome termal hack (3) -o time_step=T Scheduler sleep interval (10s) -o config_update_period=T Configuration update interval (300s) -o max_ctx_count=N Maximum number of childs (15) -o max_retry_count=N Number of retries before fail (3) -o listen_timeout=T Child process inactivity timeout (300s) -o reply_timeout=T Child process reply timeout (30s) -o max_passwd_query_count=N See in documentation (10) FUSE options: -d -o debug enable debug output (implies -f) -f foreground operation -s disable multi-threaded operation -o allow_other allow access to other users -o allow_root allow access to root -o nonempty allow mounts over non-empty file/dir -o default_permissions enable permission checking by kernel -o fsname=NAME set filesystem name -o large_read issue large read requests (2.4 only) -o max_read=N set maximum size of read requests -o hard_remove immediate removal (don't hide files) -o use_ino let filesystem set inode numbers -o readdir_ino try to fill in d_ino in readdir -o direct_io use direct I/O -o kernel_cache cache files in kernel -o umask=M set file permissions (octal) -o uid=N set file owner -o gid=N set file group -o entry_timeout=T cache timeout for names (1.0s) -o negative_timeout=T cache timeout for deleted names (0.0s) -o attr_timeout=T cache timeout for attributes (1.0s) FILES
Please create configuration directory ~/.smb. This directory should contain at least two files: smb.conf and smbnetfs.conf. You may copy smb.conf from the /etc/samba directory. You can find a sample of smbnetfs.conf in the /etc directory. AUTHOR
This manual page was written by Varun Hiremath <varunhiremath@gmail.com>, for the Debian project (but may be used by others). August 06, 2010 smbnetfs(1)
All times are GMT -4. The time now is 04:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy