LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 04-26-2017, 11:39 AM   #1
Adecypher77
LQ Newbie
 
Registered: Apr 2017
Posts: 1

Rep: Reputation: Disabled
Samba Share Permissions


Hi Guys, my apologies if this kind of questions have been asked before I am considerably new to Linux Mint (Linux Mint 13 to be precise) and I have the following three Samba Shares [Projects],[Personal_Folders],[Library] with the samba config file info listed for each below as well. These samba shares are shared by windows based PCs (i.e. they are mapped as network drives on individual windows based PCs).

I have to modify the permissions of the [Projects] samba share so that TomP-PC can only create a folder and files i.e. read and write but KevinB ONLY write but cannot DELETE and MOVE Files and Folders in [Projects] samba share. Please advise.

[Projects]
path = /media/P-drive/Projects
writeable = yes
; browseable = yes
inherit owner = yes
force create mode = 2775
force directory mode = 2775
valid users = TomP-PC, KevinB

I have to modify the permissions of the [Personal_Folders] samba share so that TomP-PC can only read and write to his personal folder named "Tom" inside [Personal_Folders] samba share and should not have access to any other folder within [Personal_Folders] samba share and same goes for KevinB. Please advise.

[Personal_Folders]
path = /media/U-drive/Personal_Folders
; browseable = yes
writeable = yes
inherit owner = yes
force create mode = 2775
force directory mode = 2775
valid users = TomP-PC, KevinB

I have to modify the permissions of the [Library] samba share so that ONLY Jamie-PC has read and write access while TomP-PC and Kevin can READ and WRITE but cannot DELETE any file or folder within [Library] samba share. Please advise.

[Library]
path = /media/R-drive/Library
write list = KevinB, JamieZ, JaniceB-PC, EllaB-PC, administrator,UmairA,
; browseable = yes
force create mode = 2775
force directory mode = 2775
inherit owner = Yes
valid users = Jamie-PC, TomP-PC, KevinB
; writeable = No

Suggestions and responses with detailed steps are very much appreciated.
 
Old 04-27-2017, 04:12 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Quote:
Originally Posted by Adecypher77 View Post
Suggestions and responses with detailed steps are very much appreciated.
I would imagine so. Then you wont have to do your own homework.
 
  


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
Permissions on samba share sarajevo Linux - Server 1 02-13-2009 03:43 PM
Samba Share Help (Permissions) carlosinfl Linux - Server 2 02-08-2008 07:36 AM
samba share permissions keisinger Linux - Enterprise 1 08-13-2006 08:56 AM
samba share permissions? psychomaniac Linux - Software 4 04-29-2004 02:22 PM
Samba Share Permissions stever Linux - Newbie 4 05-17-2003 02:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

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