[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2535: magic-folder permissions are inconsistent

Tahoe-LAFS trac at tahoe-lafs.org
Wed Oct 14 11:11:42 UTC 2015


#2535: magic-folder permissions are inconsistent
-------------------------------------+-------------------------------------
     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
Launchpad Bug:                       |
-------------------------------------+-------------------------------------

Comment (by daira):

 twistd sets umask to 0077 by default, unless overridden by
 [https://twistedmatrix.com/trac/ticket/966 --umask].

 The correct approach here seems to be to save the original umask for later
 use by `_write_downloaded_file`, before passing control to twistd in
 `tahoe start/run`. (We don't want to change the umask of the node from
 0077 using `--umask` because that would have difficult-to-review security
 consequences.)

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2535#comment:3>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list