WatchDirectory Forum | |
https://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl
watchDirectory forums >> Bug Reports >> Unzip Permissions https://www.watchdirectory.net/cgi-bin/yabb25/YaBB.pl?num=1131557111 Message started by stebrown on Nov 9th, 2005 at 6:25pm |
Title: Unzip Permissions Post by stebrown on 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.
|
Title: Re: Unzip Permissions Post by Gert on 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 |
Title: Re: Unzip Permissions Post by stebrown on 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. |
Title: Re: Unzip Permissions Post by Gert on 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 |
Title: Re: Unzip Permissions Post by stebrown on 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.
|
Title: Re: Unzip Permissions Post by stebrown on 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 |
Title: Re: Unzip Permissions Post by Gert on 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:
Gert |
WatchDirectory Forum » Powered by YaBB 2.5.2! YaBB Forum Software © 2000-2024. All Rights Reserved. |