Mailing List Archive

[MediaWiki-commits] [Gerrit] analytics/refinery[master]: Chmod yearly mediacounts directory so ezachte's scripts can ...
Ottomata has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/405938 )

Change subject: Chmod yearly mediacounts directory so ezachte's scripts can write top1000 files
......................................................................

Chmod yearly mediacounts directory so ezachte's scripts can write top1000 files

Bug: T185419
Change-Id: Ie3849f6869b40c4174d30bfeff8c8f04b5a5d079
---
M oozie/mediacounts/archive/workflow.xml
1 file changed, 12 insertions(+), 0 deletions(-)


git pull ssh://gerrit.wikimedia.org:29418/analytics/refinery refs/changes/38/405938/1

diff --git a/oozie/mediacounts/archive/workflow.xml b/oozie/mediacounts/archive/workflow.xml
index 1c0b11d..fdc4ec0 100644
--- a/oozie/mediacounts/archive/workflow.xml
+++ b/oozie/mediacounts/archive/workflow.xml
@@ -155,6 +155,18 @@
</property>
</configuration>
</sub-workflow>
+ <ok to="chmod_yearly_archive_directory"/>
+ <error to="send_error_email"/>
+ </action>
+
+ <action name="chmod_yearly_archive_directory">
+ <fs>
+ <--
+ We need newly created year directories to be group writeable so @ezachte
+ can create top1000 files. T185419
+ -->
+ <chmod path="${mediacounts_daily_archive_directory}/${year}" permissions="0775" />
+ </fs>
<ok to="end"/>
<error to="send_error_email"/>
</action>

--
To view, visit https://gerrit.wikimedia.org/r/405938
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie3849f6869b40c4174d30bfeff8c8f04b5a5d079
Gerrit-PatchSet: 1
Gerrit-Project: analytics/refinery
Gerrit-Branch: master
Gerrit-Owner: Ottomata <aotto@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits