Im trying to unrar a file to the folder /media/
EDIT: OK, the actual folder is '/mnt/sdb1/BitTorrent/readyforplex/' not '/media/'.
when I run the unrar
command I get an error that says "Cannot create… permission denied", but it does create the correctly named file with a file size of 0. If I chmod 777
that file and re-run the unrar
command it unrar
's everything just fine. If I delete everything, chmod 777
the folder and run the unrar
command, I get the original error. I could really use some help here.
Ubuntu – Do I get this permission issue when trying to unrar a file into /media/
permissions
Best Answer
/media is owned by root and it can be modified only with superuser privileges. That means that, if you want to unrar, create or copy any file to that directory, you have to precede the command by sudo or launch the program you are going to work with, launched with gksu.