I am working with Ubuntu and I have a jar file in this folder
And I am logged in
Some other user is also logged in that same machine. And I want other user to copy the above jar file from my location.
But somehow they are not able to do that as they are getting permission denied. Is there any way I can add some permission on that jar file or on my folder so that anybody can copy the files from that folder?
Below is the result I got -
david@machineB:~$ groups david david : uucp otheruser@machineB:~$ groups otheruser otheruser : app david@machineB:~$ ls -l foo.jar -rw-r--r-- 1 david uucp 6543346 2014-03-07 18:27 foo.jar david@machineB:~$ ls -ld $(echo "/home/david/foo.jar" | sed -r ':a; s#(.*)/[^/]*$#\1#;p;ta') drwxr-xr-x 22 root root 4096 2014-05-04 08:04 /home drwx------ 4 david uucp 4096 2014-03-07 18:36 /home/david