projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc55d6
)
12306: Resolve relative paths early, to avoid realpath() later.
author
Tom Clegg <tclegg@veritasgenetics.com>
Mon, 6 Nov 2017 21:44:07 +0000
(16:44 -0500)
committer
Tom Clegg <tclegg@veritasgenetics.com>
Mon, 6 Nov 2017 21:44:07 +0000
(16:44 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
services/fuse/arvados_fuse/unmount.py
patch
|
blob
|
history
diff --git
a/services/fuse/arvados_fuse/unmount.py
b/services/fuse/arvados_fuse/unmount.py
index 17ced4b4d08d4916d409495afb6e9f9aacc065d5..06a02e6a765840ae29cc7baf31319d45c7b8489e 100644
(file)
--- a/
services/fuse/arvados_fuse/unmount.py
+++ b/
services/fuse/arvados_fuse/unmount.py
@@
-58,6
+58,8
@@
def unmount(path, subtype=None, timeout=10, recursive=False):
fuse mount at all. Raises an exception if it cannot be unmounted.
"""
+ path = os.path.abspath(path)
+
if subtype is None:
mnttype = None
elif subtype == '':