GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Suspend to write file
Operating System - HP-UX
1850239
Members
3441
Online
104053
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-24-2005 09:10 PM
11-24-2005 09:10 PM
Suspend to write file
We have a common directory , everyone can put file to it , but I found that there is a problem if the user continouosly write files to this directory while the another application is running at the same time , so I want temporaily "protect" the directory , no files can be write to it at a specific time ( eg. from every 1:00am - 3:00am , 7am - 8:30am & 5pm - 6:45pm ) , the system should temporaily store the files in the above time and write back to the directory after the "pretection" period , is it possible ? thx.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 09:15 PM
11-24-2005 09:15 PM
Re: Suspend to write file
It is not a problem to store files in a directory. It is a problem when one application writing into a file and another application is trying to write in that. It will not happened bcas of file locking.
what is the problem for you that another application writting into same directory?
hth.
what is the problem for you that another application writting into same directory?
hth.
Easy to suggest when don't know about the problem!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2005 09:24 PM
11-24-2005 09:24 PM
Re: Suspend to write file
Shalom hanyyu1,
Its not a system problem, its an application problem.
The application's are probaby fighting to write to the same file at the same time.
The application should be reconfigured to write to different directories I think.
You can have root do a chmod 000 on the directory in question via a cron job, but that won't effect writes in progress, it will prevent new ones. chmod 000 is an extreme example, but you can take away write capabilities a number of ways. chmod a-w /dirname/
SEP
Its not a system problem, its an application problem.
The application's are probaby fighting to write to the same file at the same time.
The application should be reconfigured to write to different directories I think.
You can have root do a chmod 000 on the directory in question via a cron job, but that won't effect writes in progress, it will prevent new ones. chmod 000 is an extreme example, but you can take away write capabilities a number of ways. chmod a-w /dirname/
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
11-24-2005 09:46 PM
11-24-2005 09:46 PM
Re: Suspend to write file
thx replies,
Steven ,
if change 000 , it seems the file will be lost if it is writing to the directory .
Steven ,
if change 000 , it seems the file will be lost if it is writing to the directory .
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP