Messages in this thread | | | From | "Christian Groessler" <> | Date | Mon, 12 Jul 1999 23:03:53 +0100 | Subject | small enhancement to smbfs 2.2.10 |
| |
Hi,
in normal unix filesystem semantics, whether a file is read-only (r--r--r--) or not doesn't matter when deleting the file. On the smbfs mounted directories (at least from a NT server) this isn't true. It fails to delete a read-only file, even "rm -f $file" doesn't work. One has to do "chmod +w $file ; rm $file" to delete it.
I modified smbfs to do the above sequence if a regular rm fails, and made it a mount option ("smbmnt -S" for "strong", like the similar ncpfs option).
I'm using it since about 2 weeks and it seems to work fine (= no crash and haven't yet found stale temp files from our rcs system...)
regards, chris
Attached: smbstrong.diffs - patch for linux-2.2.10 smbmnt.diffs2 - patch for smbmnt from samba-2.0.4b
(See attached file: smbstrong.diffs.gz)(See attached file: smbmnt.diffs2.gz) [unhandled content-type:application/octet-stream][unhandled content-type:application/octet-stream]
| |