2 Replies Latest reply: Apr 12, 2014 6:06 AM by Catch-22 RSS

    unable to move tar file

    894943

      Hi

      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

      /u02/EBSTWO/db/apps_st/data

       

      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]$

       

      regards

      RAm

        • 1. Re: unable to move tar file
          tvCa-Oracle

          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
            Catch-22

            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.