Pradipta Chakraborty
2008-Jan-29 10:53 UTC
[Samba] 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,user A is working on that file.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.
damiend@mckennagroup.co.uk
2008-Jan-29 11:39 UTC
[Samba] Problem accessing Samba shares simultaneously by multiple users
why would you want 2 people in the same file at the same time doing RW thats asking for data curruption. for the sound of it you would be better using subversion -------- Original Message -------- Subject: [Samba] Problem accessing Samba shares simultaneously by multiple users (29-Jan-2008 10:55) From: pradipta.skynat@gmail.com To: damiend@mckennagroup.co.uk> 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,user A is working on that file.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. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > > To: samba@lists.samba.orgTo: pradipta.skynat@gmail.com Cc: samba@lists.samba.org
Robert Pollard
2008-Jan-29 15:09 UTC
[Samba] Problem accessing Samba shares simultaneously by multipleusers
One suggestion of the top of my head is Subversion. I believe it supports file locking for simultaneous development. What little I read about it a while back it would allow you to control the locking. It's main purpose is version control which is needed as well if you have multiple developers. HTH, Robert ----- Original Message ----- From: "Pradipta Chakraborty" <pradipta.skynat@gmail.com> To: <samba@lists.samba.org> Sent: Tuesday, January 29, 2008 4:53 AM Subject: [Samba] Problem accessing Samba shares simultaneously by multipleusers> 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,user A is working on that file.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. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >