Merge lp:~fboudra/linaro-license-protection/set-write-permission-to-group into lp:~linaro-automation/linaro-license-protection/trunk
Proposed by
Fathi Boudra
Status: | Merged |
---|---|
Approved by: | Deepti B. Kalakeri |
Approved revision: | 59 |
Merged at revision: | 59 |
Proposed branch: | lp:~fboudra/linaro-license-protection/set-write-permission-to-group |
Merge into: | lp:~linaro-automation/linaro-license-protection/trunk |
Diff against target: |
13 lines (+3/-1) 1 file modified
scripts/publish_to_snapshots.py (+3/-1) |
To merge this branch: | bzr merge lp:~fboudra/linaro-license-protection/set-write-permission-to-group |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Deepti B. Kalakeri (community) | Needs Fixing | ||
Review via email: mp+102456@code.launchpad.net |
Description of the change
Set write permission to the group (default umask is 022).
To post a comment you must log in.
On Wed, Apr 18, 2012 at 1:58 PM, Fathi Boudra <email address hidden>wrote:
> Fathi Boudra has proposed merging infrastructure) /code.launchpad .net/~fboudra/ linaro- license- protection/ set-write- permission- to-group/ +merge/ 102456<https:/ /code.launchpad .net/%7Efboudra /linaro- license- protection/ set-write- permission- to-group/ +merge/ 102456> /code.launchpad .net/~fboudra/ linaro- license- protection/ set-write- permission- to-group/ +merge/ 102456<https:/ /code.launchpad .net/%7Efboudra /linaro- license- protection/ set-write- permission- to-group/ +merge/ 102456> publish_ to_snapshots. py' publish_ to_snapshots. py 2012-04-17 15:49:20 +0000 publish_ to_snapshots. py 2012-04-18 08:27:17 +0000 isdir(target_ dir_path) : target_ dir_path) target_ dir_path, 0775)
> lp:~fboudra/linaro-license-protection/set-write-permission-to-group into
> lp:linaro-license-protection.
>
> Requested reviews:
> Linaro Infrastructure (linaro-
>
> For more details, see:
>
> https:/
>
> Set write permission to the group (default umask is 022).
> --
>
> https:/
> Your team Linaro Infrastructure is requested to review the proposed merge
> of lp:~fboudra/linaro-license-protection/set-write-permission-to-group into
> lp:linaro-license-protection.
>
> === modified file 'scripts/
> --- scripts/
> +++ scripts/
> @@ -189,6 +189,8 @@
> try:
> if not os.path.
> os.makedirs(
> + # Set write permission to the group as default umask is
> 022
> + os.chmod(
>
Well this will set the group write permissions on the leaf directory only, dir_content( ) is called, for
what about the top level directories.
We should make changes after the self.move_
example by parsing till the top directory.
> if not os.path. isdir(target_ dir_path) :
> raise OSError
>
>
>
>
--
Thanks and Regards,
Deepti