You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Benoy Antony (JIRA)" <ji...@apache.org> on 2011/08/27 18:54:38 UTC

[jira] [Updated] (HADOOP-3953) Sticky bit for directories

     [ https://issues.apache.org/jira/browse/HADOOP-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoy Antony updated HADOOP-3953:
---------------------------------

    Attachment: permissiontests

FilePermissionTests

> Sticky bit for directories
> --------------------------
>
>                 Key: HADOOP-3953
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3953
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Koji Noguchi
>            Assignee: Jakob Homan
>             Fix For: 0.21.0
>
>         Attachments: HADOOP-3953.patch, HADOOP-3953.patch, HADOOP-3953.patch, HADOOP-3953.patch, permissiontests, stickytests
>
>
> Our users (especially Pig) heavily use /tmp for temporary storage. 
> Permission are set to 777.
> However, this means any users can rename and also remove (by moving to .Trash) other users directories and files.
> It would be nice if we can have a sticky bit like unix. 
> Copy&Pasted from manpage.
> STICKY DIRECTORIES
>        When  the  sticky  bit  is set on a directory, files in that directory may be unlinked or renamed only by
>        root or their owner.  Without the sticky bit, anyone able to write to the directory can delete or  rename
>        files.  The sticky bit is commonly found on directories, such as /tmp, that are world-writable.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira