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

Update 3.x doc to reflect that whole var dir is writable #6132

Closed
andrerom opened this issue Jan 12, 2016 · 1 comment
Closed

Update 3.x doc to reflect that whole var dir is writable #6132

andrerom opened this issue Jan 12, 2016 · 1 comment
Labels
hasPR A Pull Request has already been submitted for this issue.

Comments

@andrerom
Copy link
Contributor

As of 3.0, writeable files are placed in var folder, however the doc for directory permissions does not reflect this other then just mapping the old doc from app => var.

If this is changed to give write access to var it would:

In summary, changing:

$ sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" var/cache var/logs

to

$ sudo chmod +a "$HTTPDUSER allow delete,write,append,file_inherit,directory_inherit" var

( same goes for all other commands dealing with directory permissions in doc )

andrerom referenced this issue in symfony/symfony-standard Jan 12, 2016
@andrerom andrerom changed the title Update 3.x doc to reflect that whole var/ dir is writable by server Update 3.x doc to reflect that whole var/ dir is writable Jan 12, 2016
@andrerom andrerom changed the title Update 3.x doc to reflect that whole var/ dir is writable Update 3.x doc to reflect that whole var dir is writable Jan 12, 2016
andrerom added a commit to andrerom/symfony-docs that referenced this issue Jan 12, 2016
Simplifies the directory permission commands to make sure:
- session folder is writable
- other custom var/ sub folders are writeable, typically data / storage / upload folder needed cms/crm/ecommerce/pim/.. systems built on top of symfony, avoiding that these projects needs to have own conflicting documentation on this

Closes symfony#6132
@andrerom
Copy link
Contributor Author

PR: #6136

@xabbuh xabbuh added the hasPR A Pull Request has already been submitted for this issue. label Jan 12, 2016
weaverryan added a commit that referenced this issue Jan 16, 2016
…rerom)

This PR was merged into the 3.0 branch.

Discussion
----------

Update directory permissions to make var/ writable

Simplifies the directory permission commands to make sure:
- `var/sessions` folder is writable
- other custom sub folders of `var` are writeable, typically data / storage / upload folder needed cms/crm/ecommerce/pim/.. systems built on top of symfony, avoiding that these projects needs to have own conflicting documentation on this

Closes #6132

Commits
-------

d6456ad Update dir permissions to reflect var being writable
f18a1aa Update directory permissions to make var/ writable
@xabbuh xabbuh closed this as completed Jan 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue.
Projects
None yet
Development

No branches or pull requests

2 participants