Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gdatastore/datastore.py3
1 files changed, 3 insertions, 0 deletions
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')