The UNIX and Linux Forums  

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 !!

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-02-2006
Registered User
 

Join Date: Nov 2006
Posts: 3
Is this Possible?

We have a UNIX box and Windows box on the same network but not part of the same domain. There is a hold file on the UNIX box that users need access to, however regulations limit FTP access. Is it possible to automatically copy any changes made to a folder on the UNIX box to a folder on the Windows box but not the other way around?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 11-02-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
It's possible but I wouldn't reccomend it. Could you export this file with Samba instead? That way there'd never need to be any copying, people would just "see" the file through the share.
Reply With Quote
  #3 (permalink)  
Old 11-02-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 3,861
We use rsync for just that purpose - we have cygwin on Windows, and it plays unix host for rsync that runs as a cron job every 20 minutes on the UNIX box.

Corona's Samba suggestion is easier. But you have to do something restrict access to the mountpoint and all of the files under there, except the hold file. Assuming there are other files in the same directory.

The rsync method allows an easy way for finer access control if really is just a single file you want users to see. But it involves a lot more setup.
Reply With Quote
  #4 (permalink)  
Old 11-02-2006
reborg's Avatar
Administrator
 
Join Date: Mar 2005
Location: Ireland
Posts: 3,513
Another different option would be to do something like a read-only cvs/subversion repository and use the appropriate client on the pc side.
Reply With Quote
  #5 (permalink)  
Old 11-02-2006
Registered User
 

Join Date: Nov 2006
Posts: 3
The folder itself is rather large 1.5 GB, 62,000 text files with more added every day. Any file older then three months is archived each month. Our users need access to many different files in that folder, which is why I'd like to replicate those files into the domain so they have access with out risk of deleting the originals.

Last edited by Mosin; 11-02-2006 at 04:12 PM.
Reply With Quote
  #6 (permalink)  
Old 11-03-2006
Registered User
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 923
Couldn't you just not give them write-access? UNIX-style user-group-world permissions still apply to files exported by samba.
Reply With Quote
  #7 (permalink)  
Old 11-03-2006
Registered User
 

Join Date: Nov 2006
Posts: 3
Corona, I already passed that idea past my IT Manager, he didn't like it. That's what sent me in the direction of a copy of some sort. He likes this idea better since it also doubles as a back up for those files. We do a manual back up of the server each night, but if we were to have a crash in the middle of the day we'd loose any reports generated since the back up.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 10:03 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0