Problem accessing Samba shares simultaneously by multiple users
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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.
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.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.