why is copy piggybank permission is denied?


2 Answer(s)


Hi David,
Please try the following command - sudo chown hadoop /usr/local/pig/lib
If you give you error, then check owner of the file and change the mode permission.
Command - sudo chmod -R 777 /usr/local/pig

Hope this helps.
Thanks


-

hi,

It's dangerous to provide 777 permissions to "root" permitted folders. I suggest to use "sudo" copy while copying the file to /usr/local/pig

sudo cp piggybank.jar /usr/local/pig