LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-28-2008, 12:26 AM   #1
SKYNAT
LQ Newbie
 
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
Unhappy Problem accessing Samba shares simultaneously by multiple users


Hello All!
I am using Samba Version 2.2.7a on a RedHat linux 9 box.Some .php files are stored on the Samba server and Users are accessing these files from windows system.They are using EditPlus to work on these .php files.Problem is that when more than one users are accessing the same file,they are unable to perform write operation on the file.E.g suppose user A has opened a file with rw priviledge,if at the same time User B is opening the same file , the file appears to him as ro,he is unable to write/save the file.
But our requirement is that multiple users will be accessing the same file at the same time & will perform read/write/save simultaneously.It should not happened that if one user is perform write/save action on a file,other users will be denied to perform write/save operation on the same file.How to do that?
Please help me in this regard.IT is required immediately and it is very urgent for ur project.Please help me.

With Best regards.
---Skynat
 
Old 01-28-2008, 01:14 AM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
There is pretty much no way that is going to work. If user A saves his changes, then user B saves his, what happens to the changes that user A has made? They get missed. That is why only one user can have RW at any one time.
 
Old 01-29-2008, 05:25 AM   #3
JonBL
Member
 
Registered: Oct 2006
Location: Victoria, Australia
Distribution: Fedora 10
Posts: 127

Rep: Reputation: 16
Or to put it another way, to ensure write consistency, only one user at a time can reasonably have a resource open for update, and Samba enforces this requirement. As lazlow has asked, what do you expect to see if two concurrent updaters with write access to a resource save their changes?
 
  


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
accessing samba shares from windows xubuntu_idiot Linux - Software 1 09-05-2006 12:25 PM
Problem while accessing Samba Shares. duffmckagan SUSE / openSUSE 16 09-22-2005 02:49 PM
Problem accessing windows shares using samba Tinku Linux - Software 6 08-05-2004 07:47 PM
Accessing Samba Shares The_Q DamnSmallLinux 2 02-05-2004 04:36 AM
accessing samba shares is slow! kudos Linux - Software 2 11-26-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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