rclone/cmd/mountlib
Nick Craig-Wood b259f8b752 cmount, mount, mountlib: make --read-only reject modify operations
Normally mount/cmount use `-o ro` to get the kernel to mark the fs as
read only.  However this is ignored by WinFsp, so in addition if
`--read-only` is in effect then return EROFS ("Read only File System")
from all methods which attempt to modify something.
2017-05-15 16:56:47 +01:00
..
mounttest mountlib: fix cross platform tests 2017-05-15 16:56:46 +01:00
createinfo.go mount: factor filesystem code into mountlib and mounttest 2017-05-12 21:24:24 +01:00
dir.go cmount, mount, mountlib: make --read-only reject modify operations 2017-05-15 16:56:47 +01:00
errors.go cmount, mount, mountlib: make --read-only reject modify operations 2017-05-15 16:56:47 +01:00
file.go cmount, mount, mountlib: make --read-only reject modify operations 2017-05-15 16:56:47 +01:00
fs.go cmount, mount, mountlib: make --read-only reject modify operations 2017-05-15 16:56:47 +01:00
read.go mountlib: on read only open of file, make open pending until first read 2017-05-15 16:56:47 +01:00
write.go mount, mountlib: move function tracing into mount 2017-05-15 16:56:45 +01:00