Skip to content

Commit

Permalink
a comment added for gridshare link touching, resolves aces#1282
Browse files Browse the repository at this point in the history
  • Loading branch information
MontrealSergiy committed Mar 18, 2024
1 parent 6cd2c79 commit 4938940
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BrainPortal/app/models/data_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1387,6 +1387,7 @@ def self.system_touch
FileUtils.touch gridshare_dir, verbose: true, nocreate: true

# update timestamp for a softlink rather than the folder it points to
# note, --no-dereference works on major os but not all of them
system("touch", "--no-dereference", sym_path) # --no-create is implied, at least for Rocky and Ubuntu
end

Expand Down

0 comments on commit 4938940

Please sign in to comment.