Hello, Sorry for my English. I discovered the following bug on gtar SunOS (Unix) with the following patch, 139099-01, and this argument : --atime-preserve This option generates the following error under certain conditions : tar: ... : Cannot utime: Not owner tar: Error exit delayed from previous errors
Example : I'm root, I created a directory and I change mode in 777, I created a file and change mode in 755 ... # cd /tmp # mkdir tmp2 # chmod 777 tmp2 # cd tmp2 # man ls >ls.man # ls -l total 80 -rw-r----- 1 root root 37K Jan 21 16:33 ls.man # chmod 755 ls.man # ls -l total 80 -rwxr-xr-x 1 root root 37K Jan 21 16:33 ls.man Now, I change user, with my user, bleclerc and I execute a gtar in "--atime-preserve" option ...... # su - bleclerc $ cd /tmp/tmp2 $ gtar --atime-preserve -c -f ./ls.man.tar ./ls.man gtar: ./ls.man: Cannot utime: Not owner gtar: Error exit delayed from previous errors $ echo $? 2 Remove the patch 139099-01 no longer generates the error. Thank you, Best regards, Bertrand LECLERC (France). ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender.
