From 4239ce71b66a92e0bd157e819042a55283ed90bb Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Mon, 29 Jul 2013 13:47:47 +0000 Subject: add FIXME --- diff --git a/gdatastore/datastore.py b/gdatastore/datastore.py index cfb6074..9350209 100644 --- a/gdatastore/datastore.py +++ b/gdatastore/datastore.py @@ -591,6 +591,9 @@ class InternalApi(object): if not os.access(path, os.R_OK): raise ValueError('Invalid path given.') + # FIXME: requesting deletion of the _symlink_ is OK, we + # only need to take care to delete the symlink rather than + # the symlink target if delete_after and not os.access(os.path.dirname(path), os.W_OK): raise ValueError('Deletion requested for read-only directory') -- cgit v0.9.1