Skip to content

Commit

Permalink
Fix #687
Browse files Browse the repository at this point in the history
Allow modifications in .shared folder
  • Loading branch information
astrada committed Jan 5, 2021
1 parent 41b91ad commit 9084bdd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/drive.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2298,7 +2298,6 @@ let create_remote_resource ?link_target is_folder path mode =
let config = context |. Context.config_lens in
if
is_lost_and_found path trashed config
|| is_shared_with_me path trashed config
then raise Permission_denied;
let cache = context.Context.cache in
Expand Down Expand Up @@ -2456,7 +2455,6 @@ let trash_resource is_folder trashed path =
let config = context |. Context.config_lens in
if
is_lost_and_found path trashed config
|| is_shared_with_me path trashed config
then raise Permission_denied;
let trash resource =
Expand Down Expand Up @@ -2558,10 +2556,6 @@ let rename path new_path =
is_lost_and_found_root path trashed config
|| is_lost_and_found new_path target_trashed config
then raise Permission_denied;
if
is_shared_with_me path trashed config
|| is_shared_with_me new_path target_trashed config
then raise Permission_denied;
let old_parent_path = Filename.dirname path_in_cache in
let new_parent_path = Filename.dirname new_path_in_cache in
Expand Down

0 comments on commit 9084bdd

Please sign in to comment.