The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
file permissions changed to nobody4 skewbie SUN Solaris 1 07-10-2008 10:16 AM
Determine if file changed within last minute ystee Shell Programming and Scripting 3 05-08-2008 01:21 AM
file size changed after SCP arunkumar_mca UNIX for Dummies Questions & Answers 11 02-11-2008 08:33 AM
Who changed a file? kirkm76 UNIX for Dummies Questions & Answers 1 07-25-2007 09:43 AM
Changed File Names From CD GoEagles UNIX for Dummies Questions & Answers 3 08-01-2006 03:24 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-26-2009
magics magics is offline
Registered User
  
 

Join Date: May 2009
Posts: 1
Monitor file changed / created events on big FS

Hi all,

The configuration:

We are useing a HP-UX Server with vxfs File System. The files on this server have normally a umask of 022 (owned by a administrative account) users who have write access to certain files get custom ACL entries that add these rights for the specific user.

Now a Samba server is running to make the files accessible from within Windows Clients.

The problem:

It seams that when a user saves a file from the Windows Client through Samba the file looses the special ACL rights (maybee it's recreated) so that the user can not save again (File is owned by an other user)

Second problem is that a new file has to get the correct ACL's. For now we have a cron job that does ACL fixing every 2 hours for that.

The question:

Is it somehoe possible to monitor the file system for new files / changed files so that everytime a file is changed / created the ACL's can directly be fixed?

Unfortunately we have >1 TB of data in millions of files in thousands of directories so that a find or simillar would consume lots of resources and need multiple minutes per run.

An other idea would be to create a file system overlay that would be mounted over the real fs and triggers the events. Does anybody has an example for something like this on HP-UX or any other idea on how to do this? I know that on Linux and also Windows theer are API methods available for these tasks, so it should be on HP-UX too i hope.

Thanks for any sugestions!
Closed Thread

Bookmarks

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:51 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