| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| kkelleher |
Posted: May 17 2005, 05:12 PM
|
|
Newbie ![]() Group: Members Posts: 1 Member No.: 1006 Joined: 17-May 05 |
Hi,
New member ... so Hi everybody! Is is possible to protect files that are being copied into a directory from being moved/deleted/read etc while the copy command is being executed. Thus if files are being moved from Directory A to Directory B, I would like to ensure that no file is copied from B until the copy from A is complete. I don't think you get this security for free in UNIX but I am not sure! thanks, Kevin |
| vibhor_agarwalin |
Posted: May 23 2005, 12:23 PM
|
|
User Level: 3 ![]() ![]() ![]() Group: Members Posts: 34 Member No.: 788 Joined: 1-February 05 |
Won't fuser help in this case.
You can write a simple script in which you regularly check the return value of fuser before copying. |
![]() |
![]() ![]() ![]() |