[
https://issues.apache.org/jira/browse/HDDS-7570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neil Joshi updated HDDS-7570:
-----------------------------
Status: Patch Available (was: In Progress)
https://github.com/apache/ozone/pull/4027
> Provide a shareable ofs://temp directory
> ----------------------------------------
>
> Key: HDDS-7570
> URL: https://issues.apache.org/jira/browse/HDDS-7570
> Project: Apache Ozone
> Issue Type: Improvement
> Reporter: Neil Joshi
> Assignee: Neil Joshi
> Priority: Major
> Labels: pull-request-available
>
> Currently, the ofs://tmp directory is a virtual directory configured by the
> admin but not shareable for all users. Instead each user creates their own
> tmp directory for use with ofs. Because of the implementation, each tmp
> directory can only be administered by the individual users. Administrators
> currently are unable to access user tmp directories. thus administer the tmp
> directories.
> Building upon HDDS-2929, a shareable virtual tmp directory will be available
> to ofs users. This ofs://tmp directory behaves much like a sticky-bit tmp
> directory where admins have full access and users have rw permissions and can
> only delete files they own.
>
> As with HDDS-2929 a virtual tmp directory is used by ofs users and ofs
> applications requiring a tmp directory, ofs://tmp. Instead of each user
> having their own tmp directories in the implementation, here a single tmp
> directory is created from the tmp directory mount that is shared for all
> users. Admins have all access and users can read/write files and only delete
> files owned by the user.
>
> The ofs temp directory is configured with access control as follows:
> admin is privileged user testuser2, regular user is testuser in example with
> admin configuring ofs tmp directory mount for users:
> ozone sh volume create tmp
> ozone sh volume setacl -a
> user:testuser2:rw,user:testuser:a,group:testuser2:rw,group:testuser:a tmp
> ozone sh bucket create tmp/tmp
> ozone sh bucket setacl -a
> user:testuser2:rwlc,user:testuser:a,group:testuser2:rwlc,group:testuser:a
> tmp/tmp
>
> users access the tmp directory as in HDDS-2929,
> ozone fs -put ./NOTICE.txt ofs://om/tmp
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]