WatchDirectory home page
WatchDirectory Startseite (Deutsche Version)
Site WatchDirectory (Français)
  Welcome, Guest. Please Login or Register
YaBB - Yet another Bulletin Board
   
  HomeHelpSearchLoginRegister  
 
Page Index Toggle Pages: 1
Unzip Permissions (Read 5745 times)
stebrown
YaBB Newbies
*
Offline



Posts: 4
Unzip Permissions
Nov 9th, 2005 at 6:25pm
 
We use a service account to unzip files from one folderon ftp server  to another folder inside the dmz, this was working fine until recently. now after the files are unzipped I have to take ownership of them from the service account in order for the users to see the files(theay are tif images). ANy ideas, I have tried uninstalling the program and reinstalling it to no avail. I had ver 3.x and upgrade to 4.x, I am pretty sure it was still working but it might have broken when we upgraded. The service is on a production server so I cannot just reboot it.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2233
The Netherlands
Re: Unzip Permissions
Reply #1 - Nov 9th, 2005 at 6:36pm
 
I guess you are not using the unzip plugin but the bat file plugin .
The unzip plugin doesn't do anything special for permissions, so if you are running it using the default service account (LocalSystem) I think you will have some permission issues if other users need to access the files.
If you use the .bat file plugin, you can always use tools like SetAcl to set the permissions automatically. Or, use the unzip plugin to unzip, and the .bat file plugin on the target computer to SetAcl the unzipped files.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
stebrown
YaBB Newbies
*
Offline



Posts: 4
Re: Unzip Permissions
Reply #2 - Nov 9th, 2005 at 9:44pm
 
I am using the unzip utility here is my config file:

[watchDirectoryEvents]
evtFileNew=1
evtFileChng=-1
evtFileDel=-1
evtFileRen=-1
evtDirNew=-1
evtDirChng=-1
evtDirDel=-1
evtDirRen=-1
evtQuiet=-1
evtFileChngBasedOnSize=0
evtQuietSecondsInterval=60

[watchDirectory]
plugin=wdopautounzip
plugin-desc=Automatically UNZIP files
directoryToMonitor=\\ldihouaspinet05\pueblo
monitorSubDirectories=1
retryToConnect=1
desc=Automatically UNZIP files%NL%Monitoring directory  \\ldihouaspinet05\pueblo%NL%including sub directories.
debug=0
nohistory=0
[mainplugin]
deletezip=1
recreatezippaths=1
usesamesubfolder=1
unzipdir=\\ldihouaspfs02\titlesearch1\docdata\imported
[watchDirectoryMoniMethod]
method=0
pollingInterval=10
[watchDirectoryOther]
waitForFilesToBeAvailable=1
fireFilenewDirnewAtStart=1
missedEvents=0
delayStartingTask=1
delayStartingTaskSeconds=2
alert-email=
[watchDirectorySchedule]
method=0
methodDelayNum=1
methodDelayWhat=2
methodWeekdaySun=1
methodWeekdayMon=1
methodWeekdayTue=1
methodWeekdayWed=1
methodWeekdayThu=1
methodWeekdayFri=1
methodWeekdaySat=1
methodWeekdayPart=1
methodWeekdayStartHour=5
methodWeekdayEndHour=8
methodWeekdayIgnoreOutside=0
mergeTasks=1
mergeUpdatesTimestamp=0
[watchDirectoryMasks]
type=1
0=*.zip
[watchDirectoryRunAs]
runType=3
hiderun=0


Not sure, but whenever watchdirectory unzips a file, no one can access it till I take ownership of it. We use a service account that has domain admin rights on all the directories we watch.
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2233
The Netherlands
Re: Unzip Permissions
Reply #3 - Nov 10th, 2005 at 7:09am
 
I am experimenting with file-security for the unzipped files now. Contact me at the e-mail address in my signature if you want to test.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
stebrown
YaBB Newbies
*
Offline



Posts: 4
Re: Unzip Permissions
Reply #4 - Nov 10th, 2005 at 8:30pm
 
I have tested it out and it is a permissions issue, only Domain Admins can open the files. Any other user though they have full controll cannot open the file. They get an access denied error. We have reviewed our GPO's and other security settings and can find no problems where they would cause this issue.
Back to top
 
 
IP Logged
 
stebrown
YaBB Newbies
*
Offline



Posts: 4
Re: Unzip Permissions
Reply #5 - Nov 11th, 2005 at 5:11pm
 
After Spending a couple of hours with microsoft we tracked the proble down to If you check the use the same subfolder as where the ZIP file is Found and or the Use the Directory Information found Inside the zip file. Then the extrated file blocks inheriting the folder permissions and only lets system users or administrators access the sub directories. If you give a regular user permissions to a file then suddenly the file inherits all the permissions from above. This basicaly makes the program useless to us right now and I have production users that need it asap.

Stephen Brown
Stewart Title Senior System Enginer/DBA
Back to top
 
 
IP Logged
 
Gert
YaBB Administrator
*****
Offline



Posts: 2233
The Netherlands
Re: Unzip Permissions
Reply #6 - Nov 11th, 2005 at 5:58pm
 
Well, you could always go back to version 3, contact me for the download if you don't have it anymore.
Also, from my previous post:
Quote:
I am experimenting with file-security for the unzipped files now. Contact me at the e-mail address in my signature if you want to test.
.

Gert
Back to top
 

Gert Rijs - gert (at) gdpsoftware (dot) com
Blog: http://blog-en.gdpsoftware.com/
End Alzheimer's: http://www.alz.org&&...
WWW WWW GdPSoftware  
IP Logged
 
Page Index Toggle Pages: 1