Roxen.git/
server/
modules/
filesystems/
filesystem.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2016-03-21
2016-03-21 10:09:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>
485ee8ca98fd512399011c28697131e78ceb5a0f (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
57001636821aa150991b89014f4ea5dd1e8dc607
Filesystem: Use encoded paths for file locks.
Fixes some of [bug
7659 (#7659)
].
479:
"<h1>Permission to 'LOCK' files denied</h1>", id); }
-
register_lock(path, lock, id);
+
register_lock(
encode_
path
(path)
, lock, id);
return 0; }
494:
"<h1>Permission to 'UNLOCK' files denied</h1>", id); }
-
unregister_lock(path, lock, id);
+
unregister_lock(
encode_
path
(path)
, lock, id);
return 0; }
524:
id->method), id); } TRACE_LEAVE("Fall back to the default write access checks.");
-
return ::write_access(path, recursive, id);
+
return ::write_access(
encode_
path
(path)
, recursive, id);
} array find_dir( string f, RequestID id )