Permission denied error in transmission after formatting drive to ext4

5,317

I suspect that /media/serier is owner by root and its permissions are 700 (rwx------). With those permissions, only root can descend into the folder. You need to set the execute bit on the folder, so you can enter it. To do so, execute:

sudo chmod o+x /media/serier

The previous command sets the permissions from 700 to 701 (rwx-----x). Now you can descend into it, but not read the folder as a regular user. That might be annoying if you use a file browser to get into that folder, so I recommend to set the read bit too. Of course, it does not make sense to grant the world more permissions to the group, so set the same bits for the group too:

sudo chmod go+rx /media/serier

The permissions will be set from 700 to 755 (rwxr-xr-x) and you can now descend into the directory and list the contents of it.

Share:
5,317

Related videos on Youtube

ganjan
Author by

ganjan

Updated on September 18, 2022

Comments

  • ganjan
    ganjan over 1 year

    I use transmission to download torrents to /media/serier/ (so not my home folder). I did this before and it worked, but after formating my drive to ext4 I get a permissions error. This is what I get from ls -la in /media/serier/serier/:

    drwx------   2 user user       4096 2011-03-30 19:32 folder.name
    

    And I believe that transmission is run by me (user).

    ps -ef | grep trans
    user     26076     1  0 00:23 ?        00:00:56 transmission-gtk
    

    How do I fix this? Change the permission for the folder?

    UPDATE: ok, I have changed permission to several folders now, but it still does not work. Here it is:

    /media:
    drwxr-xr-x   7 root root  4096 2011-07-21 22:26 media
    /media/serier/
    drwxr-xr-x  5 user user  4096 2011-07-22 14:02 serier
    /media/serier/serier/*720
    drwxr-xr-x 103 user user 12288 2011-07-20 22:25 serier
    

    (attempting to download a episode of Alphas)

    /media/serier/serier/Alphas season 1/
    drwxr-xr-x   3 user user       4096 2011-07-14 20:27 Alphas season 1
    

    I still get this error message:

    Error: Permission denied (/media/serier/serier/Alphas season 1/Alphas.S1E02.720...)
    

    Every folder is owned by me (user) except for media owned by root and every folder is set to drwxr-xr-x. Why do I still get an error message?!

    PS.

    Changed the download location to:

    drwxr-xr-x  3 user user   16384 2011-07-22 18:21 Downloads
    

    and it works, but I don't want to download it to my home folder and move the file every time I download something..

    Thanks for the fast response by the way..

    • Rinzwind
      Rinzwind almost 13 years
      Check permission of the folders too! (/media /media/serier/)
  • ganjan
    ganjan almost 13 years
    I found a solution. I changed the permission to "drwxrwxr-x", not "rwxr-xr-x" or "drwxr-xr-x", but close. Thank you for your help
  • Lekensteyn
    Lekensteyn almost 13 years
    Actually, the d in the output of ls -l is the type of the file, in this case a directory.