0

I am a complete newbie, so please forgive my ignorance.

Could someone please help with this error. Thank you very much for any help. Much appreciated.

(trusty)epaschall@localhost:/usr/share/Minecraft$ sudo chown -hR $USER
chown: missing operand after 'epaschall'

have tried help --chown and putting in my username... but nothing is working

1
  • 1
    What are you trying to change the ownership of? you haven't told it (or us) Jan 2, 2016 at 14:22

1 Answer 1

3

You need to tell chown for which files you recursively want to change the owner, like

sudo chown -hR $USER .

if you want to change the owner of the current working folder (/usr/share/Minecraft) or

sudo chown -hR $USER *

for all files and folders inside this folder but not the folder itself.

1
  • Thank you very much! Awesome! I didn't realize i had to include space and then a . (period) at the end.
    – Sapper1_cd
    Jan 2, 2016 at 14:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .