piersk@bda.org.uk
2005-Apr-18 14:05 UTC
[Samba] Only one person can use a file at a time problem
Hello all, Migrated a Windows 2000 server to Debian Sarge with Samba (3.0.10). Works nicely. But apparently there's a Microsoft Access database on this specific server that people have been using - apparently one of them add in information in the database, while the rest access the same database to read it only - apparently people can do that on the old server - i.e. one person opens it, the rest can open a "read only" copy of it fine. But now that Samba is serving up the file, only one person can open the database at a time - the rest gets an "Unable to lock file" error message - I assume this is because Samba only allows one person to use the file at a time and blocks other people to open the database as read only - how to allow Samba to give access to this specific file but read only? Thanks very much for your help in advance! Cheers - Piers
piersk@bda.org.uk
2005-Apr-18 14:15 UTC
[Samba] Only one person can use a file at a time problem
Problem fixed - sorry for bothering you all! Thanks to those who helped. For reference: solution was to set "create mode = 0777" - an important setting considering it's a public drive! Doh. Cheers - Piers
Robert Schetterer
2005-Apr-18 16:27 UTC
[Samba] Only one person can use a file at a time problem
piersk@bda.org.uk schrieb:>Hello all, > >Migrated a Windows 2000 server to Debian Sarge with Samba (3.0.10). Works >nicely. But apparently there's a Microsoft Access database on this >specific server that people have been using - apparently one of them add >in information in the database, while the rest access the same database to >read it only - apparently people can do that on the old server - i.e. one >person opens it, the rest can open a "read only" copy of it fine. > >But now that Samba is serving up the file, only one person can open the >database at a time - the rest gets an "Unable to lock file" error message >- I assume this is because Samba only allows one person to use the file at >a time and blocks other people to open the database as read only - how to >allow Samba to give access to this specific file but read only? > >Thanks very much for your help in advance! > >Cheers - Piers > > >hi , as far i remember there is something written about it in the samba faqs Regards