LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2003, 08:31 PM   #1
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Rep: Reputation: 31
Samba and permissions


ok, have samba serving a few access databases. the issue is that whenever the first user logs on access creates a lock file and gives them the only write permission, thus preventing other users from writing to the lock file and denying them acess. How can i have this file writeable by all users every day. I have been chmoding them every morning when the first user logs on, roughly 9:00 and am getting tired of doing this. TIA
 
Old 10-28-2003, 08:39 PM   #2
killjoy
Member
 
Registered: Mar 2001
Location: Atlanta,GA
Distribution: Red Hat, Mandrake
Posts: 66

Rep: Reputation: 15
I have been using Samba for a couple of years and have not experienced this.
What version are you running?
 
Old 10-28-2003, 10:20 PM   #3
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Original Poster
Rep: Reputation: 31
whatever is in RH9, 2.4 maybe?
 
Old 10-29-2003, 12:26 AM   #4
killjoy
Member
 
Registered: Mar 2001
Location: Atlanta,GA
Distribution: Red Hat, Mandrake
Posts: 66

Rep: Reputation: 15
are all your users in the same linux group?
what did you set the file permissions for?
 
Old 10-29-2003, 09:34 AM   #5
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Original Poster
Rep: Reputation: 31
even when i set the directory permissions for 777 ( bad, I know) the new file is not writable by others ( which it absolutely has to be). No, they are not in the same group, as this particular server needs to have the highest standard of security for PHI (protected health information). Just another thing to point out in our audits....... so i cant really do that.... looking for another workaround.
 
Old 10-29-2003, 10:39 AM   #6
tefal
Member
 
Registered: Jul 2003
Location: S. Wales
Distribution: Fedora Core 5, SuSE 9.1 Pro
Posts: 30

Rep: Reputation: 15
This is an MS Access issue.

These databases are designed to be single users only. The best way to allow multiple people to access one database is to go for something like MySQL, PostgreSQL etc.

The lock-file is there to make sure only one person accesses the file at a and can't be changed.
 
Old 10-29-2003, 10:49 AM   #7
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Original Poster
Rep: Reputation: 31
um, no

actually, MS ACCESS can handle quite a few users. The lock files are there to ensure that any given record is being edited by a single user at one time just as in MYSQL, and PostgreSQL. Thanks for the effort, but no.
 
Old 11-05-2003, 06:29 PM   #8
demarchi
LQ Newbie
 
Registered: Nov 2003
Location: Sao Paulo - Brazil
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Try editing your /etc/samba/smb.conf and add the following line:
force create mode=0777

This will only create (or modify) files giving them the 777 permission.
 
Old 11-05-2003, 06:39 PM   #9
ezra143
Member
 
Registered: Aug 2003
Location: NY
Distribution: RH9, RH8, Slack, Vector
Posts: 497

Original Poster
Rep: Reputation: 31
thanks demarchi.

I ended up doing exactly that for the one particular share in question and have not had any issues since. That is exactly the solution i was looking for.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Permissions? ezra143 Linux - Networking 1 02-22-2005 02:26 PM
SAMBA says 'Samba Server is not accebile, you might have no permissions' Ahmad Gurchani Linux - General 1 01-01-2005 11:34 AM
Samba and permissions Phaethar Linux - Software 2 06-17-2004 09:03 AM
Samba permissions djtsa Linux - Newbie 6 10-03-2003 08:22 AM
Samba Permissions ppuddick Linux - Networking 2 08-02-2002 04:03 PM


All times are GMT -5. The time now is 01:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration