Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PPI::Cache - default permissions for directories 0777 (plus umask) #172

Open
wants to merge 38 commits into
base: master
Choose a base branch
from

Conversation

zhurs
Copy link

@zhurs zhurs commented Jul 14, 2015

In current version, cache files creates with default (umask) permissions, but directories with 0755.
We want to use one shared PPI cache for all team, so this behaviour is not comfortable for us.

With patch, permissions of created files and directories will correspond umask
(so behaviour will not changed for users with default umask=022)

guillaumeaubert and others added 30 commits November 11, 2014 22:13
Conflicts:
	t/ppi_statement_sub.t
Conflicts:
	t/ppi_statement_package.t
	t/ppi_statement_sub.t
	t/ppi_token_operator.t
not require that the caller call flush_locations
on the document.
@wchristian
Copy link
Member

Can you please instead provide a patch which adds an attribute to the PPI::Cache object for the path perms? That way we can leave the default where it is and you can configure your perms as you like them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants