Folder rights of created folders

Asked by Moyyer on 2007-05-21

KTorrent set all folder rights of created folders by torrents automatic to drwx-r-x-r-x.
I've a Samba-Server, which shared the downloads on the network.
How can I change the rights, that I can delete/cut the downloads from the network?

I don't want to set the rights manually every time.
I've allready tried to open ktorrent from a terminal with umask 0000, but this doesn't work.

Thanks Moyyer

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ktorrent Edit question
Assignee:
No assignee Edit question
Solved by:
Moyyer
Solved:
2007-08-26
Last query:
2007-08-26
Last reply:
2007-06-07

Hi!

Sadly I don't know how to fix this issue, but I can present you a workaround that automates the permission setting.
Login as the user running ktorrent and open a terminal. Type "crontab -e". On a new line, and enter:
*/5 * * * * /bin/chmod -R /path/to/torrents

This starts the chmod command every 5 minutes (the input format is explained in the "crontab" manual page). You just need to modify the path behind chmod.

Regards,
Marcus Trautwig

Launchpad Janitor (janitor) said : #2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Moyyer (andy-paetzold) said : #3

I solved the problem with the help of Marcus Trautwig's post, but it's better to enter the line in the cronjobs of the root account.
Thx for the help

Moyyer (andy-paetzold) said : #4

I solved the problem with the help of Marcus Trautwig's post, but it's better to enter the line in the cronjobs of the root account.
Thx for the help