- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: cp and utime error
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 08:57 AM
02-19-2004 08:57 AM
cp and utime error
When using cp command, the following message is generated, even though it copies the file properly:
cp -p file /directory/xxx
cp: utime failed file: Not owner
Thanks,
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 09:02 AM
02-19-2004 09:02 AM
Re: cp and utime error
What are teh permissions on the file? Maybe permissions are tight.
Also
pwck
grpchk
There may be a consistency problem in /etc/passwd or /etc/group
bdf /
Make sure root fs isn't too full.
Kind of stumped actually, this is what I'd do if it happened to me.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 09:19 AM
02-19-2004 09:19 AM
Re: cp and utime error
I found this some place else:
utime() failed because I`m the not owner of the file. I have (group)
write permission which is why the copy completed successfully.
And because you are not the owner utime is unable to set date/time of modification.
Check, if this is also your case,
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 05:45 PM
02-19-2004 05:45 PM
Re: cp and utime error
Please revert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-19-2004 07:09 PM
02-19-2004 07:09 PM
Re: cp and utime error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2004 12:39 AM
02-20-2004 12:39 AM
Re: cp and utime error
No, this is happening NOT on NFS mount, rather on XP256;
pwck and grpck do not report any problems for that user;
Michael, this is my situation, i.e file permissions are 664 and a user who does a copy is not the owner but belongs to the group;
What is strange though, that on the other server a cp does not give an error even though permissions are 644 and still copies a file;
Thank you for responses,
Elena.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2004 12:54 AM
02-20-2004 12:54 AM
Re: cp and utime error
compare the access rights of the two directories the files are in.
can you post an ls -lisa /directory
?
Are you using acl?
Michael