You are not logged in.

#1 2010-02-21 10:32:54

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

[ SOLVED ] How to lock ( can read, can't move ) deluge downloads?

So basically someone doesn't really understand the basics of how bittorent works and upon downloading something, moves the files to other directories, meaning that Deluge can no longer find them.
Is there a way to lock the Deluge folder so that everyone could only read ( extract, open, etc. ) it ?

** I don't want to run Deluge as root.

Last edited by SemiBz (2010-02-21 14:58:39)

Offline

#2 2010-02-21 13:18:56

lamdacore
Member
Registered: 2009-11-05
Posts: 128

Re: [ SOLVED ] How to lock ( can read, can't move ) deluge downloads?

Is this someone using a different user to access these files? If so, save the files somewhere under your user and change the accessibility for other users, so it is read only.

Offline

#3 2010-02-21 13:23:36

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

Re: [ SOLVED ] How to lock ( can read, can't move ) deluge downloads?

Well, it's not gona work - the user should be able to download and use the files. I just don't want him to be able to move them away from the downloads folder after the download have been completed.
Basically, it would be a a situation where one can do anything he wants except the ability to delete / move.

Offline

#4 2010-02-21 13:40:26

lamdacore
Member
Registered: 2009-11-05
Posts: 128

Re: [ SOLVED ] How to lock ( can read, can't move ) deluge downloads?

Well it might work... The user will be able to read and use the files you have downloaded, but not modify/delete them. The download folders will be different for different users however. So the other user will just have a different folder where they download. -unless you don't want two different download folders.

An alternate is to run deluge as your user. So deluge has access to read/write in the download folder. But you will need to give the other  user your credentials.

Offline

#5 2010-02-21 14:02:56

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [ SOLVED ] How to lock ( can read, can't move ) deluge downloads?

You can use the "run command on completion" hook to change the permission to read only on the files when they are finished downloading. And/or run the deluge daemon from rc.d, and only giving the user read access to everything in /home/deluge

Last edited by Mr.Elendig (2010-02-21 14:05:02)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2010-02-21 14:13:05

SemiBz
Member
From: Riga, Latvia
Registered: 2010-01-30
Posts: 80

Re: [ SOLVED ] How to lock ( can read, can't move ) deluge downloads?

Mr.Elendig wrote:

You can use the "run command on completion" hook to change the permission to read only on the files when they are finished downloading. And/or run the deluge daemon from rc.d, and only giving the user read access to everything in /home/deluge

Thank you - didn't even noticed the Execute plugin.

** [ SOLVED ] thingy can't be added .. the title is too long hmm

Last edited by SemiBz (2010-02-21 14:14:43)

Offline

#7 2010-02-21 14:32:48

stryder
Member
Registered: 2009-02-28
Posts: 500

Re: [ SOLVED ] How to lock ( can read, can't move ) deluge downloads?

Just replace deluge with solved...

Offline

Board footer

Powered by FluxBB