hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-3953) Sticky bit for directories
Date Wed, 07 Jan 2009 02:01:48 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12661407#action_12661407
] 

Tsz Wo (Nicholas), SZE commented on HADOOP-3953:
------------------------------------------------

patch looks good to me.  Only one nit: FsPermission.set(FsAction u, FsAction g, FsAction o)
is not useful anymore, please remove it.

> Sticky bit for directories
> --------------------------
>
>                 Key: HADOOP-3953
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3953
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: dfs
>            Reporter: Koji Noguchi
>            Assignee: Jakob Homan
>         Attachments: HADOOP-3953.patch, HADOOP-3953.patch
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message