Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2234 closed Enhancement (fixed)

add support for setting the file creation umask

Reported by: jordan83 Owned by: charles
Priority: Normal Milestone: 1.73
Component: libtransmission Version: 1.72
Severity: Normal Keywords:
Cc:

Description

Hi guys,

I'm using Transmission as a deamon in a home server running Ubuntu 9.04. The deamon runs under the ad-hoc user "debian-transmission" which was automatically created during the installation of the package.

I configured Transmission so that it saves the torrent files within a directory that I share within the home network using Samba. The problem is that the umask used to save the files is 022 thus I cannot delete the files through Samba, because only the owner (debian-transmission) is allowed to do that.

It would be nice if you could add an option in Transmission to allow the user to choose the umask that should be used for the torrent files when they are created.

I'm wondering what could be the best solution to work around the problem. I could either run a crontab script to change the permissions from time to time or I could create a home directory for the debian-transmission user and set the 000 umask. However, both of the solutions are not very elegant, thus if you could add this (I guess and hope :) ) minor feature it would be a great enhancement to transmission-daemon users like me! :)

Keep up the good work and thanks for what you've done so far!

Giordano

Change History (7)

comment:1 Changed 13 years ago by charles

  • Milestone changed from None Set to 1.80
  • Owner set to charles
  • Status changed from new to assigned

comment:2 Changed 13 years ago by charles

  • Milestone changed from 1.80 to 1.73

This is a really useful addition for daemon users, and only a few lines of code to add support for it in settings.json, so I'm going to bump it to 1.73.

comment:3 Changed 13 years ago by charles

  • Summary changed from Permissions of the downloaded files to add support for setting the file creation umask

comment:4 Changed 13 years ago by charles

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:5 Changed 13 years ago by charles

  • Component changed from Daemon to libtransmission

comment:6 Changed 13 years ago by charles

Added to trunk in r8872 for 1.73

comment:7 Changed 13 years ago by charles

that should read r8772 :)

Note: See TracTickets for help on using tickets.