Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 26445 invoked from network); 16 Sep 2008 22:58:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Sep 2008 22:58:07 -0000 Received: (qmail 17920 invoked by uid 500); 16 Sep 2008 22:58:01 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 17884 invoked by uid 500); 16 Sep 2008 22:58:01 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 17873 invoked by uid 99); 16 Sep 2008 22:58:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 15:58:01 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2008 22:57:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4E2AC234C1DA for ; Tue, 16 Sep 2008 15:57:44 -0700 (PDT) Message-ID: <1652209122.1221605864319.JavaMail.jira@brutus> Date: Tue, 16 Sep 2008 15:57:44 -0700 (PDT) From: "Allen Wittenauer (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-4106) add time, permission and user attribute support to fuse-dfs In-Reply-To: <756232534.1220845724278.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631586#action_12631586 ] Allen Wittenauer commented on HADOOP-4106: ------------------------------------------ Now that I think about it, access() may not be necessary for chown()/chmod(). In particular, I'm thinking of a bug that happened in Solaris cpio (or was it pax?) eons ago where a user had a privilege assigned that allowed that user to chown() files. But that user couldn't actually read the files. So doing a raw chown() with no access check was the right thing to do. If Hadoop were to mature enough to have a role system, doing access() followed by chown()/chmod() would be the wrong thing to do. So, yes, I think it is ok to do chown()/chmod() without access() and just let the EPERM error or whatever Hadoop is throwing back to the user. Of course, this begs the question about what FUSE will do under roles, but that's a different discussion for a different day. :) > add time, permission and user attribute support to fuse-dfs > ----------------------------------------------------------- > > Key: HADOOP-4106 > URL: https://issues.apache.org/jira/browse/HADOOP-4106 > Project: Hadoop Core > Issue Type: New Feature > Components: contrib/fuse-dfs > Reporter: Pete Wyckoff > Assignee: Pete Wyckoff > Fix For: 0.19.0 > > Attachments: HADOOP-4106.txt, HADOOP-4106.txt, HADOOP-4106.txt, HADOOP-4106.txt > > > add: > dfs_chown > dfs_utime > dfs_chmod > Change open to have its own FS on writes (should we do this on reads too??) and use it for writes and disconnect when closing the file > Chane mkdir to open the FS itself and then close it > also added comments for dfs_access (which needs FileSystem support/libhdfs support) and I added the dfs_symlink and truncate since these 3 are the only 3 things left as far as functionality. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.