LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-27-2016, 03:58 PM   #1
IIIdefconIII
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
SMB permission please help cannot figure it out


Hi, i really need some help. Im trying now for 2 days.

I have a share on Kodibuntu yes its /mnt/sdb1. Id like ALL user read only, with all users i mean the anonymous login without the need of username password just go on the client to SMB \\192.168.1.8 and they should see the content.

And id like to have 1 user named iiidefconiii to have the write permissions but im trying several settings and i cannot get it work, im still linux newbie can someone please advice
I did chmod 755 on the folder, then i was able to write, but then also the guest user "htpc" is able to write.


Thank you

here is my smb.conf

[global]
workgroup = WORKGROUP
server string = h server (Samba, KODI)
netbios name = KODIbuntu
dns proxy = no
name resolve order = hosts wins bcast
load printers = no
show add printer wizard = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user

[MediaLibrary1]
comment = MediaLibrary
guest ok = yes
read only = no
browsable = yes
write list = iiidefconiii
create mask = 755
directory mask = 755
path = /mnt/sdb1
guest account = HTPC

Last edited by IIIdefconIII; 01-27-2016 at 04:00 PM.
 
Old 02-01-2016, 05:55 PM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
try

read only = yes
write list = iiidefconiii
 
Old 02-01-2016, 08:50 PM   #3
IIIdefconIII
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the repsonse, but i disabled smb and went for ftp instead
 
  


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
smb permission for windows clients? nayyares Linux - General 1 12-13-2006 09:00 PM
New Linux/Samba user can't figure out smb.conf (I think) ;) InkyGhost Linux - Networking 12 09-21-2006 08:47 AM
permission problems with mounted smb shares mackayr Linux - Networking 3 12-29-2004 11:48 PM
smb permission for (sub)user group mweil Linux - Networking 0 07-23-2004 07:59 AM
smb.conf file write permission jbraum Mandriva 3 01-09-2004 05:11 PM

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

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