Github user svarnau commented on a diff in the pull request:

    https://github.com/apache/incubator-trafodion/pull/440#discussion_r60448911
  
    --- Diff: install/installer/traf_add_sudoAccess ---
    @@ -40,8 +40,8 @@ function backupRestore {
     
     source $TRAF_CONFIG
     
    -echo "## Allow $BACKUP_USER id to run commands needed for backup and 
restore" > $BACKUP_USER
    -echo "%$BACKUP_USER ALL =(hbase) NOPASSWD: /usr/bin/hbase" >> $BACKUP_USER
    +sudo echo "## Allow $BACKUP_USER id to run commands needed for backup and 
restore" > $BACKUP_USER
    +sudo echo "%$BACKUP_USER ALL =(hbase) NOPASSWD: /usr/bin/hbase" >> 
$BACKUP_USER
     
    --- End diff --
    
    sudo does no good here.  The file re-direct happens as the current user 
(output of sudo).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to