deluge directory permissions
This commit is contained in:
parent
887cedd40e
commit
fe916fe9e3
|
@ -54,6 +54,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Add caspervk user to the 'torrent' group to allow viewing downloads
|
||||||
|
users.groups.torrent.members = ["caspervk"];
|
||||||
|
|
||||||
|
|
||||||
environment.persistence."/nix/persist" = {
|
environment.persistence."/nix/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
# Deluge data directory. This is *NOT* where the downloads are saved
|
# Deluge data directory. This is *NOT* where the downloads are saved
|
||||||
|
@ -70,7 +74,7 @@
|
||||||
# /srv/torrents/downloads/movies/ and /srv/torrents/tv/.
|
# /srv/torrents/downloads/movies/ and /srv/torrents/tv/.
|
||||||
{
|
{
|
||||||
directory = "/srv/torrents";
|
directory = "/srv/torrents";
|
||||||
user = "caspervk";
|
user = "deluge";
|
||||||
group = "torrent";
|
group = "torrent";
|
||||||
mode = "0770";
|
mode = "0770";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue