You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
Views don't enable to remove files from disk.
As soon as a file is written it is marked as non writable. Thus remove_file_data is not be able to remove them. This task is used in views.py but will not have any effect.
The text was updated successfully, but these errors were encountered:
I don't think I would change remove_file_data. It's there as a protection mechanism, so it shouldn't try to remove a file if it is not writable. I would rather say that the view/API should handle the situation?
nharraud
changed the title
tasks: enable remove_file_data to remove non writable files
views: enable views to delete files completely
Mar 31, 2017
@lnielsen Ok. I changed the issue's title.
What about adding a force optional argument to remove_file_data which would ignore the writable status. The views would then set it to True whenever an ObjectVersion is deleted and there is a need for garbage collection.
Changing the writable flag would allow other file modifications, which is not what we want.
Problem:
Views don't enable to remove files from disk.
As soon as a file is written it is marked as non
writable
. Thusremove_file_data
is not be able to remove them. This task is used in views.py but will not have any effect.The text was updated successfully, but these errors were encountered: