deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DTACLOUD-139) Wrong dir/file permissions
Date Wed, 13 Jun 2012 13:04:42 GMT

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

Michal Fojtik commented on DTACLOUD-139:
----------------------------------------


The umask sounds OK for me. The directory should have 0750 now:

        FileUtils::mkdir_p(@storage_root, :mode => 0750)
        data = Dir[File::join(File::dirname(__FILE__), "data", "*")]

                
> Wrong dir/file permissions
> --------------------------
>
>                 Key: DTACLOUD-139
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-139
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: deltacloud-core-0.4.1-8.fc16.noarch
>            Reporter: Jan Provaznik
>            Assignee: Michal Fojtik
>
> deltacloud-core server creates /var/tmp/deltacloud-mock-nobody/ dir with wrong permissions:
> # ls -ld /var/tmp/deltacloud-mock-nobody/
> drwxrwxrwx. 9 nobody nobody 4096 Feb  6 10:43 /var/tmp/deltacloud-mock-nobody/
> Subdirs and files have wrong perms too.
> DC should set some reasonable umask (or pass perms mode as param to mkdir_p method and
when creating files).

--
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