Author Topic: (Solved) Permission denied when autostart  (Read 4761 times)

corrigo

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
(Solved) Permission denied when autostart
« on: May 18, 2013, 05:57:22 pm »
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]
drwx------ 1 julmelinux julmelinux 8192 mai   15 14:44 Disque Externe
I tried to change the permission with
Code: [Select]
sudo chmod 777But 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.
« Last Edit: June 13, 2013, 01:13:47 pm by corrigo »

sledgehammer_999

  • qBittorrent maintainer
  • Administrator
  • Forum addict
  • *****
  • Posts: 2406
  • Karma: +150/-2
    • View Profile
Re: Permission denied when autostart
« Reply #1 on: May 19, 2013, 10:28:05 am »
As you mentioned, probably qbittorrent is started before the partitions are mounted. How do you autostart qbittorrent?

corrigo

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Permission denied when autostart
« Reply #2 on: June 12, 2013, 06:44:08 pm »
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]
sh -c "sleep 10 && (qbittorrent &)"