[
https://issues.apache.org/jira/browse/HAWQ-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15124707#comment-15124707
]
ASF GitHub Bot commented on HAWQ-307:
-------------------------------------
Github user cwelton commented on a diff in the pull request:
https://github.com/apache/incubator-hawq/pull/250#discussion_r51340004
--- Diff: src/backend/resourcemanager/communication/rmcomm_QD2RM.c ---
@@ -2145,7 +2145,7 @@ int findFile(const char *filename)
int createFile(const char *filename)
{
int fd = 0;
- fd = open(filename, O_RDWR|O_CREAT);
+ fd = open(filename, O_RDWR|O_CREAT, S_IRUSR | S_IWUSR);
--- End diff --
The S_IRUSR and S_IWUSR flags indicate that the file should be created with
the u+rw permission bits set, presumably default permissions were different
between Ubuntu and CentOS and switching to the three parameter open() call is
more explicit in the behavior.
> Ubuntu Support
> --------------
>
> Key: HAWQ-307
> URL: https://issues.apache.org/jira/browse/HAWQ-307
> Project: Apache HAWQ
> Issue Type: New Feature
> Components: Build
> Reporter: Lei Chang
> Assignee: Clay B.
> Fix For: 2.1.0
>
>
> To support HAWQ running on Ubuntu OS 14.04.3
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)