Issue with rsync: failed to set times on "/tmp/.": Not owner (1)
Hi,
Here is my source host and folder details.
Here is the destination details
I m firing the rsync command on the source (source-host) expecting that it will copy and override the /web/Trn_File/data/jdk1.7.0_95 to destination (dest-host) /tmp/jdk1.7.0_95
However the rsync command fails with the below error:
Quote:
rsync: failed to set times on "/tmp/.": Not owner (1)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1052) [sender=3.0.9]
Although /tmp has owner as root all the users are free to write in the /tmp directory. So Why does rync not write/copy/overwrite the jdk1.7.0_95 folder inside /tmp ?
Can you please help me understand what needs to be done inorder to fix the problem ?
Hi,
i'm programming on /bin/csh and i need to get the number extracted by this:
set ppl_kn = $(awk '{ field = $6 } ; END{ print field }' < ppl_LM_kn.ppl )
and the output is: "Illegal variable name."
Please anyone can help me what's wrong?
Thanks in advance (2 Replies)
Hi,
Please clarify what is the difference between "env" and "set" command.
I guess set will display the system variables and user defined variables.
Thanks
Sweta (1 Reply)
When ssh'ing into certain Unix boxes I'm seeing two errors that appear immediately after entering the password I've never seen. After the error message is displayed the connection closes immediately. The first is “/bin/ksh: Not owner” after which the connection is closed. And, “Read from remote... (5 Replies)
Hi All ,
I want to delete files from /tmp directory created by "xxxx" id.
because i got the list says more than 60 thousand files were created by "xxxx" id since 2002.
The /tmp directory has lot of files created by different user ids like root,system etc..
But, i need a script to... (2 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi All,
I have just now started learning awk from the source - Awk - A Tutorial and Introduction - by Bruce Barnett
and the bad part is that I am stuck on the very first example for running the awk script.
The script is as -
#!/bin/sh
# Linux users have to change $8 to $9
awk '
BEGIN ... (6 Replies)
The system don't boot.
on the screen appears following:
press enter to maintenance (or type CTRL-D to continue)...I checked with format command.
... the slices "0-root","1-swap","2-backup" exist.
...the slises "3-var","6-usr" -unassigned. :( (16 Replies)
Hello,
Each time a user log on to host, they receive below error:
-sh: /tmp/outfile: cannot create
Example:
$ ssh host
user@host's password:
Last login: Fri Dec 4 08:17:28 2015 from client.ref
|-----------------------------------------------------------------|
-sh:... (2 Replies)
Look at the following data file(cou.data) which has four fields separated by tab.
Four fields are country name, land area, population, continent where it belongs.
As for country name or continent name which has two words, two words are separated by space.
(Data are not accurately... (1 Reply)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT HPUX
xcopyplane
XCopyPlane() XCopyPlane()
Name
XCopyPlane - copy a single plane of a drawable into a drawable with depth, applying pixel values.
Synopsis
XCopyPlane(display, src, dest, gc, src_x, src_y, width, height,
dest_x, dest_y, plane)
Display *display;
Drawable src, dest;
GC gc;
int src_x, src_y;
unsigned int width, height;
int dest_x, dest_y;
unsigned long plane;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
src Specify the source and destination drawables.
dest
gc Specifies the graphics context.
src_x Specify the x and y coordinates of the upper-left corner of the source rectangle relative to the origin of the drawable.
src_y
width Specify the width and height in pixels. These are the dimensions of both the source and destination rectangles.
height
dest_x Specify the x and y coordinates at which the copied area will be placed relative to the origin of the destination drawable.
dest_y
plane Specifies the source bit-plane. You must set exactly one bit, and the bit must specify a plane that exists in src.
Description
XCopyPlane() copies a single plane of a rectangle in the source into the entire depth of a corresponding rectangle in the destination. The
plane of the source drawable and the foreground/background pixel values in gc are combined to form a pixmap of the same depth as the desti-
nation drawable, and the equivalent of an XCopyArea() is performed, with all the same exposure semantics.
XCopyPlane() uses these graphics context components: function, plane_mask, foreground, background, subwindow_mode, graphics_exposures,
clip_x_origin, clip_y_origin, and clip_mask.
The src and dest drawables must have the same root, but need not have the same depth.
For more information, see Volume One, Chapter 5, The Graphics Context.
Errors
BadDrawable
BadGC
BadMatch src and dest do not have the same root.
BadValue plane does not have exactly one bit set, or bit specified in plane is not a plane in src.
See Also
XClearArea(), XClearWindow(), XCopyArea(), XDraw, XDrawArc(), XDrawArcs(), XDrawFilled(), XDrawLine(), XDrawLines(), XDrawPoint(), XDraw-
Points(), XDrawRectangle(), XDrawRectangles(), XDrawSegments(), XFillArc(), XFillArcs(), XFillPolygon(), XFillRectangle(), XFillRectan-
gles().
Xlib - Drawing Primitives XCopyPlane()