03-05-2008
It'll be the tarball or your local version of tar. The tarball is trying to set a file attibute that you dont have permission to set. Try checking out your tar manpage to find a flag to work silently.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello !
Do you have any example of the utime command ?
I'm trying to change the time of last change of a file to a defined time.
Thanks. (3 Replies)
Discussion started by: margue
3 Replies
2. UNIX for Dummies Questions & Answers
I'm kicking Unix questions out like Bruce Lee. So I'm copying a directory of files, in each directory I inevitablly get this:
I get that for usually the same set of directories/files in each folder. Is there a way to override this when copying files? (4 Replies)
Discussion started by: JPigford
4 Replies
3. Programming
Hello,
I am trying to port some testtools we wrote from solaris to redhat linux(AMD64). If I link dynamic, set the correct LD_LIBRARY_PATH, everything runs fine.
If I try to link static, the pthread_create returns "operation not permitted" (error code 1).
Does anybody have an idea where to... (1 Reply)
Discussion started by: Micky
1 Replies
4. Programming
Hi,
Is there any system call which changes the time of symbolic link apart from utime? or if tere is no system call any other option of how to do it?
Thanks (4 Replies)
Discussion started by: naan
4 Replies
5. Linux
Hi i have written one backup script in linux workstation.The backup script will do zipping files and moved to the backup directory(i,e /net/ts-bcn/sb_backup/sand).
#So while moving zipped files to the backup directory i am getting some error like this
error:mv:failed to preserve ownership... (2 Replies)
Discussion started by: yogks
2 Replies
6. AIX
Hi all,
iam unable to mount exported directory hari on AIX 5.3,
which was in RedHat Linux As4.
Linux-server
AIX -client
I am facing errors of
bash-3.00# mount -n linuxas4 /hari /hari
mount: 1831-008 giving up on:
linuxas4:/hari
vmount: Operation not permitted.
Pl any body... (1 Reply)
Discussion started by: haribabu
1 Replies
7. Programming
Hi All,
First of all thanks for reading this post.
In my application, I am trying to create a new message queue . I am attaching the code below.
mqd_t mqopen2(const char * pName,
unsigned long Flags,
long maxMsg,
long msgSz)
{... (15 Replies)
Discussion started by: parusasi
15 Replies
8. UNIX for Dummies Questions & Answers
Hi Expert,
I am trying to change ownership of one file to another user that is exist in the system but getting operation not permitted error
what could be the correct way?
# ls -lh .Xauthority_ori
-rw------- 1 maxim atlas 2.8K Jul 27 17:18 .Xauthority_ori
# id -a
uid=0(root)... (8 Replies)
Discussion started by: regmaster
8 Replies
9. Shell Programming and Scripting
Hi,
Thanks for looking into this.
I am running into below situation in free BSD.
I have a file in /tmp/sample.txt with owner as 'xyz' and group as 'wheel'
I am moving it to my home dir/newsample.txt whihc has owner 'xyz', but group 'someother' with below command, getting warning, but it is... (2 Replies)
Discussion started by: ramanaraoeee
2 Replies
10. UNIX for Beginners Questions & Answers
Hello,
Since over one week, I have been consistently searching for a solution to my mysql installation errors. I surfed many sites on google to get rid of the issue. Now google gives me all the same results, I tested many of those solutions provided by... Now I am pulling hair
I am under... (12 Replies)
Discussion started by: baris35
12 Replies
LEARN ABOUT FREEBSD
utime
UTIME(3) BSD Library Functions Manual UTIME(3)
NAME
utime -- set file times
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <utime.h>
int
utime(const char *file, const struct utimbuf *timep);
DESCRIPTION
This interface is obsoleted by utimes(2).
The utime() function sets the access and modification times of the named file from the actime and modtime fields of the struct utimbuf
pointed at by timep.
If the times are specified (the timep argument is non-NULL) the caller must be the owner of the file or be the super-user.
If the times are not specified (the timep argument is NULL) the caller must be the owner of the file, have permission to write the file, or
be the super-user.
ERRORS
The utime() function may fail and set errno for any of the errors specified for the library function utimes(2).
SEE ALSO
stat(2), utimes(2)
STANDARDS
The utime() function conforms to IEEE Std 1003.1-1988 (``POSIX.1'').
HISTORY
A utime() function appeared in Version 7 AT&T UNIX.
BSD
June 4, 1993 BSD