It's all about the answers!

Ask a question

.get command can't write to local file system, why?


Jirong Hu (1.5k9290258) | asked Sep 20 '12, 5:50 p.m.
 8 09/20/12 05:47PM AUTH Running as: [ccadm01] in domain [HBC] SID Type [User]
9	09/20/12 05:47PM	AUTH	 Running with Privilege: [Manage auditing and security log]
10	09/20/12 05:47PM	AUTH	 Running with Privilege: [Back up files and directories]
11	09/20/12 05:47PM	AUTH	 Running with Privilege: [Shut down the system]
12	09/20/12 05:47PM	AUTH	 Running with Privilege: [Take ownership of files or other objects]
13	09/20/12 05:47PM	AUTH	 Running with Privilege: [Profile system performance]
14	09/20/12 05:47PM	AUTH	 Running with Privilege: [Increase scheduling priority]
15	09/20/12 05:47PM	AUTH	 Running with Privilege: [Load and unload device drivers]
16	09/20/12 05:47PM	AUTH	 Running with Privilege: [Adjust memory quotas for a process]
17	09/20/12 05:47PM	AUTH	 Running with Privilege: [Remove computer from docking station]
18	09/20/12 05:47PM	AUTH	 Running with Privilege: [Impersonate a client after authentication]
19	09/20/12 05:47PM	AUTH	 Running with Privilege: [Synchronize directory service data]
20	09/20/12 05:47PM	AUTH	 Running with Privilege: [Debug programs]
21	09/20/12 05:47PM	EXEC	H: mapped to \\ccpvcs02\airdh via Microsoft Windows Network
22	09/20/12 05:47PM	EXEC	T: mapped to \\ccdata06\tempdata via Microsoft Windows Network
23	09/20/12 05:47PM	EXEC	V: mapped to \\ccpvcs01\Pvcsvm via Microsoft Windows Network
24	09/20/12 05:47PM	EXEC	W: mapped to \\ccreqpwebp01\software via Microsoft Windows Network
25	09/20/12 05:47PM	EXEC	Z: mapped to \\ccreqpwebd01\ccstg via Microsoft Windows Network
26	09/20/12 05:47PM	AUTH	 set user account to hbc\ccadm01
195	09/20/12 05:47PM	EXEC	 start [C:@ccreqpwebd01] echo "Copy the changed file from Informatica Server to ClearCase view."
196	09/20/12 05:47PM	EXEC	 Performing variable expansion on command line
197	09/20/12 05:47PM	AUTH	 Running as: [ccadm01] in domain [HBC] SID Type [User]
198	09/20/12 05:47PM	AUTH	 Running with Privilege: [Bypass traverse checking]
199	09/20/12 05:47PM	AUTH	 Running with Privilege: [Manage auditing and security log]
200	09/20/12 05:47PM	AUTH	 Running with Privilege: [Back up files and directories]
201	09/20/12 05:47PM	AUTH	 Running with Privilege: [Shut down the system]
202	09/20/12 05:47PM	AUTH	 Running with Privilege: [Take ownership of files or other objects]
203	09/20/12 05:47PM	AUTH	 Running with Privilege: [Profile system performance]
204	09/20/12 05:47PM	AUTH	 Running with Privilege: [Debug programs]
205	09/20/12 05:47PM	AUTH	 Running with Privilege: [Create a pagefile]
206	09/20/12 05:47PM	AUTH	 Running with Privilege: [Adjust memory quotas for a process]
207	09/20/12 05:47PM	AUTH	 Running with Privilege: [Remove computer from docking station]
208	09/20/12 05:47PM	AUTH	 Running with Privilege: [Impersonate a client after authentication]
209	09/20/12 05:47PM	EXEC	"Copy the changed file from Informatica Server to ClearCase view."
210	09/20/12 05:47PM	EXEC	 end [C:@ccreqpwebd01] echo "Copy the changed file from Informatica Server to ClearCase view." (0)
211	09/20/12 05:47PM	EXEC	.get rfksappd02_c999752:dummy/test.txt Temp
212	09/20/12 05:47PM	AUTH	AuthOk["c999752"]
265	09/20/12 05:47PM	EXEC	Locale["C"]
266	09/20/12 05:47PM	EXEC	Reading rfksappd02_c999752(rfksappd02:5556):/home/c999752/dummy/test.txt (100644)
267	09/20/12 05:47PM	READ	ReadOk["/home/c999752/dummy/test.txt"]
268	09/20/12 05:47PM	EXEC	0
269	09/20/12 05:47PM	EXEC	Writing /home/c999752/dummy/test.txt to C:/Temp
270	09/20/12 05:47PM	WRITE	 can't open C:\Temp for write.

Accepted answer


permanent link
David Brauneis (50611) | answered Sep 24 '12, 2:16 p.m.
JAZZ DEVELOPER
 I think that you might want to get the file to a destination file, something like:

   .get rfksappd02_c999752:dummy/test.txt Temp/test.txt

I believe the failure is due to the fact that C:\Temp is a directory not a file and therefore cannot be written to.
Jirong Hu selected this answer as the correct answer

Comments
Jirong Hu commented Sep 24 '12, 2:36 p.m.

Yes, this issue is resolved using your solution.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.