I have connected to the two computers. One system is windows, another is ubuntu. And I want to send a lab.rar file to the ubuntu from windows by using the software pscp(putty) .
Here is my command to send the file (windows system):
D:\>pscp C:\Users\Tyler.Tuo\Desktop\lab1.rar ubuntu@192.168.0.109:/home/cse316
However, it reports error like this:
pscp: unable to open /home/cse316/lab1.rar: permission denied
It seems I have no permission to visit the location in ubuntu system. How to solve the problem?
A quick solution , open your Ubuntu system and type this: sudo chmod 777 -R /home/cse316