[
https://issues.apache.org/jira/browse/HADOOP-3953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jakob Homan updated HADOOP-3953:
--------------------------------
Attachment: HADOOP-3953.patch
Here's an initial patch for review. This includes the sticky bit
implementation and unit tests. I still need to go through the user
documentation and update that; I'll do that now and update the patch shortly
with just the documentation changes.
> 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
>
>
> 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.