The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Accidentally did a unlink inet deaconf19 SUN Solaris 1 03-27-2008 01:00 AM
perl unlink question jerardfjay Shell Programming and Scripting 2 09-23-2006 09:35 AM
What does unlink"tmep.log" do? whatisthis High Level Programming 1 09-13-2005 12:39 PM
link and unlink , urgently... umonk UNIX for Advanced & Expert Users 1 12-17-2001 12:06 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-23-2005
super_duper_guy super_duper_guy is offline
Registered User
  
 

Join Date: Oct 2005
Posts: 6
mv: cannot unlink ????

Hello all,

I have a script which runs every 15 minutes and moves all but latest 10 files from a directory (A) to Directory (B).

Most of the times this job runs fine but sometimes it is giving "mv: cannot unlink {Target Directory name } : Permissions denied."

Any help about this error msg would be appreciated ?

A sample output is attached.

Thanks

***************************************************

11/23/2005 20:00:37
mv /local/oracle/GTTPRD/arch/GTTPRD.log.0001.0000001965 to /local/oracle/GTTPRD/backup

mv: cannot unlink /local/oracle/GTTPRD/backup: Permission denied

11/23/2005 20:30:37

mv /local/oracle/GTTPRD/arch/GTTPRD.log.0001.0000001966 to /local/oracle/GTTPRD/backup
mv /local/oracle/GTTPRD/arch/GTTPRD.log.0001.0000001968 to /local/oracle/GTTPRD/backup
mv /local/oracle/GTTPRD/arch/GTTPRD.log.0001.0000001969 to /local/oracle/GTTPRD/backup

11/23/2005 22:00:40

mv /local/oracle/GTTPRD/arch/GTTPRD.log.0001.0000001974 to /local/oracle/GTTPRD/backup
mv: cannot unlink /local/oracle/GTTPRD/backup: Permission denied

mv /local/oracle/GTTPRD/arch/GTTPRD.log.0001.0000001973 to /local/oracle/GTTPRD/backup
mv: cannot unlink /local/oracle/GTTPRD/backup: Permission denied
  #2 (permalink)  
Old 11-24-2005
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,661
In order to help you we would need to know the user and permissions of the files and the userID of the process.
Sponsored Links
Closed Thread

Bookmarks

« Help!!! | Biography »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 07:00 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0