You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2023/01/12 17:56:00 UTC

[jira] [Updated] (HDDS-7570) Provide a shareable ofs://temp directory

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

Siyao Meng updated HDDS-7570:
-----------------------------
    Fix Version/s: 1.4.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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
>             Fix For: 1.4.0
>
>
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org