[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2535: Magic Folder: permissions of downloaded files should be set in a more failure-safe way
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Jan 21 13:05:37 UTC 2016
#2535: Magic Folder: permissions of downloaded files should be set in a more
failure-safe way
-------------------------------------+-------------------------------------
Reporter: dawuud | Owner: daira
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: code-frontend- | Version: 1.10.1
magic-folder | Keywords: magic-folder
Resolution: | permissions security usability unix
Launchpad Bug: | docs-needed
-------------------------------------+-------------------------------------
Comment (by dawuud):
The callsite passes ```self._local_path_u``` which is the Magic-Folder
directory... and ```_write_downloaded_file``` needs it to ensure that we
can chmod all created directories without chmod`ing outside the Magic-
Folder.
I guess I should change the argument name to ```magicfolder_dir_u```...
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2535#comment:25>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list