Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Incorrect host permissions over site files #150

Closed
yiendos opened this issue Jun 13, 2019 · 1 comment
Closed

Incorrect host permissions over site files #150

yiendos opened this issue Jun 13, 2019 · 1 comment
Labels
Milestone

Comments

@yiendos
Copy link
Member

yiendos commented Jun 13, 2019

Describe the problem:

When you create a new Joomla site via the console command, the site is created... but the host site files have an incorrect user:group permissions applied.

This only becomes apparent, when you try to edit the files in your IDE of choice. The permissions effectively lock the site files, and with phpStorm you can't even import the site files into a new project.

Steps to reproduce:

  1. Spin up a new version of the JT-Vagrant box
  2. Install a site joomla site:create testing
  3. Attempt to drag and drop site finder folder into phpstorm

Observed Results:

Instead of phpstorm opening the project files, nothing happens. Checking the permissions over the newly created folder:

→ ls -la 
total 16
drwxr-xr-x   9 root       wheel   288 13 Jun 08:46 .
drwxr-xr-x  27 example	  staff   864  6 Jun 15:57 ..
drwxrwxr-x  30 example	  staff   960 13 Jun 08:40 joomlatools
drwxrwxr-x  23 root       wheel   736 13 Jun 08:59 testing

Note: applying the correct permissions of example:staff over the joomlatools folders means that the IDE is able to import and edit the files.

Where as the root:wheel permissions are incorrectly applied to testing

@yiendos yiendos added the bug label Jun 13, 2019
@yiendos yiendos added this to the 1.6 milestone Jun 13, 2019
@stevenrombauts
Copy link
Member

@yiendos Correct, I've fixed this yesterday in bd7219b

@stevenrombauts stevenrombauts removed their assignment Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants