LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-08-2008, 05:53 AM   #1
irvken
Member
 
Registered: Dec 2003
Location: uk
Distribution: Ubuntu/Debian/Android
Posts: 218

Rep: Reputation: 30
Samba share permissions problem


Hi,

I've set up a share for users but when they save files or create folders it retains their permissions so other users can't access their files, where I want all users to be able to read and write all files in the share. Any help obviously appreciated


smb.conf below

Code:
[global]
	workgroup = WG
	netbios name = WG
	server string = Samba Server
	username map = /etc/samba/smbusers
	log file = /var/log/samba/%m.log
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	os level = 33
	preferred master = Yes
	dns proxy = No
	ldap ssl = no
	idmap uid = 16777216-33554431
	idmap gid = 16777216-33554431
	read only = No
	hosts allow = 127.0.0.0, 192.168.0.0/24
	hosts deny = 0.0.0.0/0

[printers]
	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

[srb5]
	path = /home/srb5
	valid users = user1, user2, user3
	create mask = 0777
	directory mask = 0771
 
Old 02-08-2008, 07:47 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Try using security=share if you want to grant R/W access to all users. Or you could use ACLs or other UNIX-style permissions to manage the settings if you want them to be able to read/write from their local accounts as well.
 
  


Reply



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
Samba Share Help (Permissions) carlosinfl Linux - Server 2 02-08-2008 07:36 AM
samba share permissions irvken Linux - Networking 1 02-08-2008 06:07 AM
samba share permissions keisinger Linux - Enterprise 1 08-13-2006 08:56 AM
Samba share permissions anorman Linux - Software 1 10-22-2005 02:49 AM
samba share permissions? psychomaniac Linux - Software 4 04-29-2004 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:13 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