LinuxQuestions.org
Help answer threads with 0 replies.
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 12-13-2010, 04:59 PM   #1
Abner Gershon
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Rep: Reputation: 0
Question Folder permissions for samba share in small medical office?


I have been using samba running on a debian server for file sharing of patient medical records in my office. The doctor notes are scanned as pdf files and sorted into folders A-Z and then subfolders named patient "lastname_firstname". Most of the folders and files are owned by user "smbguest" from group "smbguest" and have the following permissions "drwxrwsr-x". This must be related to the samba mask settings that where initially set up.

My problem is that once in a while a secretary will accidentally drag one patient's folder into another. Sometimes even a higher level folder like the J_patients folder into the K_patients folder. This causes the folder to essentially disappear to my staff until I can locate it and correct the problem.

I would like to hear some recommendations about how I could alter permissions of the folders, subfolders, and documents to continue to allow the secretaries to scan in new documents but at the same time prevent them from accidentally deleting or moving a patient's folder.
 
Old 12-13-2010, 07:04 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,137
Blog Entries: 6

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
What does your smb.conf file say?

Code:
[global]
workgroup = Office
netbios name = Server
server string = Your server
security = share

[share]
path = /home/shared resource/share
guest ok = yes
read only = no
secuity = share will allow everyone to access shares.
Make sure the top level folder of your shared resource is shared, not just the sub folders.

There a lot of config options for the smb.conf
 
Old 12-14-2010, 10:31 AM   #3
Abner Gershon
LQ Newbie
 
Registered: Dec 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Post smb.conf

Below is my smb.conf file.

[global]
workgroup = IN
netbios name = LARRY
guest account = myguest
security = user
socket options = TCP_NODELAY IPTOS_LOWDELAY
map to guest = bad user

[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No

[public]
comment = Shared User Data
path = /var/export
browseable = Yes
public = Yes
read only = No
guest ok = Yes
force group = myguest
force create mode = 0775
force directory mode = 2775
 
  


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 & sub folder permissions? new2linux09 Linux - Newbie 1 08-09-2009 03:56 AM
SAMBA Public Share Folder Echo Kilo Linux - Software 3 06-17-2008 01:32 AM
samba share folder on boot dyool Ubuntu 2 09-18-2006 02:22 PM

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

All times are GMT -5. The time now is 12:59 AM.

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