hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1841) Enforce read-only permissions in FUSE open()
Date Wed, 04 Jan 2012 04:30:42 GMT

    [ https://issues.apache.org/jira/browse/HDFS-1841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13179264#comment-13179264
] 

Harsh J commented on HDFS-1841:
-------------------------------

Awesome! I'm in process of testing this out manually right now and I'll commit it in once
I have the {{ro}} mount working!

Thanks again for this neat addition :)
                
> Enforce read-only permissions in FUSE open()
> --------------------------------------------
>
>                 Key: HDFS-1841
>                 URL: https://issues.apache.org/jira/browse/HDFS-1841
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: contrib/fuse-dfs
>    Affects Versions: 0.20.2
>         Environment: Linux 2.6.35
>            Reporter: Brian Bloniarz
>            Priority: Minor
>         Attachments: patch.fuse-dfs, patch.fuse-dfs.kernel
>
>
> fuse-dfs currently allows files to be created on a read-only filesystem:
> $ fuse_dfs_wrapper.sh dfs://example.com:8020 ro ~/hdfs
> $ touch ~/hdfs/foobar
> Attached is a simple patch, which does two things:
> 1) Checks the read_only flag inside dfs_open().
> 2) Passes the read-only mount option to FUSE when ro is specified on the commandline.
This is probably a better long-term solution; the kernel will enforce the read-only operations
without it being necessary inside the client.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message