file permissions

Asked by prasad.ram on 2011-05-18

sir my system is ubuntu 32bit and in that i have 5 users among them one is administrator .the problem is i would like to move a file from administrator to a user for this i use mv command but it gives error like
"admin@ramki:~/Desktop$ mv jdk-6u25-linux-x64.bin /home/ramu
mv: cannot move `jdk-6u25-linux-x64.bin' to `/home/ramu/jdk-6u25-linux-x64.bin': Permission denied"
what are the permissions ?the permissions which are known to me is read (-r),write(-w),executable(-x) i don't know moving permissions so how can i do this please help me

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu coreutils Edit question
Assignee:
No assignee Edit question
Solved by:
Eliah Kagan
Solved:
2011-05-18
Last query:
2011-05-18
Last reply:
2011-05-18

then run:

sudo mv jdk-6u25-linux-x64.bin /home/ramu

and it will work. the user admin does not have write access to ramu's home folder.

Please note, however, that the method you are using is not the recommended method for installing Java. See https://help.ubuntu.com/community/Java. It seems that you're trying to install the proprietary JDK from Oracle. You might consider using the free open source Java implementation OpenJDK, which is also official. However, if you want to use the proprietary JDK, you can install that using Ubuntu packages as well.

You asked about permissions:
https://help.ubuntu.com/community/FilePermissions

prasad.ram (prasad-ram126) said : #3

thaks for responding me and you gave me nice suggestions thanks for that