Page 1 of 1

(Solved) Permission denied when autostart

Posted: Sat May 18, 2013 3:57 pm
by corrigo
Hi. I'm using Linux Mint 13 Mate and i have a problem with qBittorrent 3.0.9.

I set up the software to start automatically when the PC boots. All my files used by qBittorent are on an external hard drive (NTFS)

However, i always have this message when i launch Linux Mint :
An I/O error occured for torrent XXX
Error: permission denied.


It looks like qbittorent starts before the external hard drive beacause the path for my files are corrects.

I checked the permission of the external hard drive and here's the results :

Code: Select all

drwx------ 1 julmelinux julmelinux 8192 maiĀ   15 14:44 Disque Externe
I tried to change the permission with

Code: Select all

sudo chmod 777
But no success.....

I also tried to close qbittorrent, changed the name of the external hard drive from "disque externe" to "disque_externe", and staredt qBittorrent, and the problem is the same (Error: permission denied)

What's wrong ?

Any help would be appreciated, thanks.

Re: Permission denied when autostart

Posted: Sun May 19, 2013 8:28 am
by sledgehammer_999
As you mentioned, probably qbittorrent is started before the partitions are mounted. How do you autostart qbittorrent?

Re: Permission denied when autostart

Posted: Wed Jun 12, 2013 4:44 pm
by corrigo
Problem solved!!

Just as i thought, the external hard drive was mounted before qbittorent was started.
All i had to do was to delay qbittorrent.

Now it's starting 10 seconds later with this command :

Code: Select all

sh -c "sleep 10 && (qbittorrent &)"
Image