3

I'm a very new Ubuntu user (14.04 LTS) and this is my first question here.

I am trying to follow the instructions from this Reddit thread about mounting an NTFS hard disk to use as a Plex media library (https://www.reddit.com/r/PleX/comments/2opw25/super_annoying_permissions_issue/cmqjcml)

After creating (with sudo) the /media/samsung directory (in my case) I cannot change the owner as the directory cannot be found. The casing is correct. Here is output showing the directory and the error...


$ dir
Desktop    Downloads         media  Pictures          Public     Videos
Documents  examples.desktop  Music  plexmedialibrary  Templates

$ cd media
~/media$ dir
samsung
~/media$ cd ../..
/home$ sudo chown paul:paul /media/samsung
[sudo] password for paul: 
chown: cannot access ‘/media/samsung’: No such file or directory
/home$ 

What is wrong here? I'm finding Ubuntu very frustrating so far. TIA.

muru
  • 197,895
  • 55
  • 485
  • 740
Paul Davies
  • 33
  • 1
  • 1
  • 3

1 Answers1

3

The mistake you made is to mix up /media/samsung with ~/media/samsung notice the ~

The ~ sign refers to your home folder location for example /home/$USER/ when you stated ~/media/samsung you were actually typing /home/$USER/media/samsung

You could also use sudo chown paul:paul ./media/samsung the . means from current folder (or something like it) but this will set the ownership for the folder located at /home/$USER/media/samsung.

Rinzwind
  • 299,756
elemer82
  • 491
  • 1
  • 6
  • 15