Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 44487 invoked from network); 4 Oct 2010 04:15:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Oct 2010 04:15:58 -0000 Received: (qmail 21810 invoked by uid 500); 4 Oct 2010 04:15:58 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 21741 invoked by uid 500); 4 Oct 2010 04:15:57 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 21629 invoked by uid 99); 4 Oct 2010 04:15:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 04:15:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Oct 2010 04:15:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o944FXcV015938 for ; Mon, 4 Oct 2010 04:15:33 GMT Message-ID: <9369221.523421286165733363.JavaMail.jira@thor> Date: Mon, 4 Oct 2010 00:15:33 -0400 (EDT) From: "Todd Lipcon (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-2103) task-controller shouldn't require o-r permissions In-Reply-To: <22320226.523391286165314601.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated MAPREDUCE-2103: ----------------------------------- Attachment: mapreduce-2103.txt > task-controller shouldn't require o-r permissions > ------------------------------------------------- > > Key: MAPREDUCE-2103 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2103 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: task-controller > Affects Versions: 0.22.0 > Reporter: Todd Lipcon > Priority: Trivial > Attachments: mapreduce-2103.txt > > > The task-controller currently checks that "other" users don't have read permissions. This is unnecessary - we just need to make it's not executable. The debian policy manual explains it well: > {quote} > Setuid and setgid executables should be mode 4755 or 2755 respectively, and owned by the appropriate user or group. They should not be made unreadable (modes like 4711 or 2711 or even 4111); doing so achieves no extra security, because anyone can find the binary in the freely available Debian package; it is merely inconvenient. For the same reason you should not restrict read or execute permissions on non-set-id executables. > Some setuid programs need to be restricted to particular sets of users, using file permissions. In this case they should be owned by the uid to which they are set-id, and by the group which should be allowed to execute them. They should have mode 4754; again there is no point in making them unreadable to those users who must not be allowed to execute them. > {quote} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.