On a Solaris machine I need to transfer files from windows to unix server as well as server to server. Is there a way to get the oracle id permissions (uid gid) when I do this here is an example :

My id Brian using winscp transfers a file to my unix server DBserv1 to directory /u04/oradata/hrspec Files have the following

-rw-r--r--   1 oracle   orainst   573440 Jul 20  2010 system_01.dbf 

Right now I would have to copy the file then change chmod to 655 then chown to oracle.

Logging in with the oracleid is not permitted.

link|improve this question
feedback

1 Answer

I'm not sure I completely understand your question, but you should probably use tar or rsync to be able to preserve UID, GID and permissions during a file transfer.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown