2 Replies Latest reply on Apr 12, 2014 11:06 AM by Dude!

    unable to move tar file



      i am unable to move tar file one location another location.


      -rw-r--r-- 1 oraebs2 dba 10565308335 Apr 11 04:28 usirvsprdebs01.appl.tar.gz

      -rwxrwxrwx 1 oraebs2 dba  1749569317 Apr 11 04:29 usirvsprdebs01.comn.tar.gz

      -rw-r--r-- 1 oraebs2 dba  8460437581 Apr 11 04:34 usirvsprdebs01.tech_st.tar.gz

      -rw-r--r-- 1 oraebs2 dba  5539639958 Apr 11 04:37 usirvsprdedb01.RDBMSOH.tar.gz

      -rw-r----- 1 oraebs2 dba  1643603654 Apr 11 04:38 vertex01.dbf.gz

      -rw-r----- 1 oraebs2 dba  1745056464 Apr 11 04:39 vtxlink01.dbf.gz

      -rw-r----- 1 oraebs2 dba   792705400 Apr 11 04:40 vtxlink02.dbf.gz

      [oraebs2@usirvsdevebs06 data]$ pwd



      below is the error.

      [oraebs2@usirvsdevebs06 data]$ mv usirvsprdebs01.comn.tar.gz /u01/EBSTWO/apps/apps_st

      mv: cannot create regular file `/u01/EBSTWO/apps/apps_st/usirvsprdebs01.comn.tar.gz': Permission denied

      [oraebs2@usirvsdevebs06 data]$




        • 1. Re: unable to move tar file

          Obviously, the account trying to write into that directory, lacks permissions.


          Try this:


          cd /u01/EBSTWO/apps/apps_st

          touch testfile


          Probably, the owner of /u01/EBSTWO/apps/apps_st is not the owner you try to move the file with. Try to do the opposite; as the owner of that directory, READ the file from its source location, and write into the directory which he owns himself. The read permissions are normally given more than the write permissions, and if you can login as BOTH account, you will have more success if you chose the owner of the target directory, which probably is not the owner of the source file, but that should be OK as that owner more likely has got read rights to read the source file.

          • 2. Re: unable to move tar file

            In addition to ownership you may also want to verify correct directory write permissions of the target directory. You may also want to check the output of the "mount" command to see if the target directory is a remote volume in which case the connection protocol may overrule file system permissions.