Skip to content

Windows build is broken due to the introduced auth permissions #1610

@gtema

Description

@gtema

In the #1608 change cache file permissions are being set, but logically on the windows this is not going to work:

error[E0599]: no method named `set_mode` found for struct `Permissions` in the current scope
   --> openstack_sdk\src\state.rs:278:37
    |
278 |                         permissions.set_mode(0o600);
    |                                     ^^^^^^^^ method not found in `Permissions`

OS handling macros must be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions