Results 1 to 4 of 4
hello,
i am currently migrating my school to linux however some things need to remain in windows. to solve this i am using samba. basically, our setup has a linux ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-20-2004 #1Just Joined!
- Join Date
- Sep 2004
- Posts
- 2
samba file locking help
hello,
i am currently migrating my school to linux however some things need to remain in windows. to solve this i am using samba. basically, our setup has a linux web server with a windows share mounted inside the apache document root. we have to keep windows because the system is build heavily of windows permissions.
the problem is that one file, the Student_Bullitin.htm file, needs to be changed nightly but because of file locking i am not able to. for example, when i try moving the file i get:
mv: cannot move `Student Bulletin.htm' to `Student Bulletin.html': Text file busy
does anyone know of a way to fix this? sofar i have done:
kernel oplocks = yes
locking = No
(i have also tried both of them independantly with no luck either).
does anyone know of a solution to this? thanks alot!
-fiber
- 09-20-2004 #2
- 09-21-2004 #3Just Joined!
- Join Date
- Sep 2004
- Posts
- 2
the file is being edited by a 3rd windows computer using windows shares.
but that is a good point, maybe apache is infact the one locking the file and not samba?
-fiber
- 09-21-2004 #4


Reply With Quote
