- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I am unable to move zip file in to another loc...
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
09-22-2008 09:18 PM
09-22-2008 09:18 PM
I am unable to move zip file in to another location.
I have created nis user for me.I got my user id as 672.The same user id already had other user(as like super user,for ex:svnuser)i have given root privileges to svnuser.After that i written one backup script in linux workstation(RedHat).I have logged in through my username and I have written backup script in the following path /home1/svnuser/backup/ .The script states that i need to mv some files in to another location (i,e/net/ccs-ben/sb_backup).I have completed my backup script by keeping the same user id 672, after that i have changed my user id into 673.Now i am trying to executed the backup script its showing the following error:
mv:failed to preserve ownership for '/net/ccs-ben/sb_backup':operation not permitted.
can anyone help me out in this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 09:50 PM
09-22-2008 09:50 PM
Re: I am unable to move zip file in to another location.
ls -l
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 10:33 PM
09-22-2008 10:33 PM
Re: I am unable to move zip file in to another location.
Check your source file permission and owner & group as well as check your user also, means he should belong to the group which is your source file.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2008 10:55 PM
09-22-2008 10:55 PM
Re: I am unable to move zip file in to another location.
chmod +x
hope this will solve your problem.
If in the script you are using some commands which are user specific that you need to check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2008 01:06 AM
09-23-2008 01:06 AM
Re: I am unable to move zip file in to another location.
Please take a moment to assign points to those who have taken the time to assist you. Here's how:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Thanks,
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2008 01:40 AM
09-23-2008 01:40 AM
Re: I am unable to move zip file in to another location.
Thanks
SKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2008 02:15 AM
09-23-2008 02:15 AM
Re: I am unable to move zip file in to another location.
check who's owner of the directoy '/net/ccs-ben/sb_backup' and its permissions.
Is it a local dir?
"... after that i have changed my user id into 673."
Did you change the id (in passwd) or the user?
Volkmar