• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

TryGhost / Ghost-CLI / 1304 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 04 Feb 2018 05:18PM UTC
Files 61
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Feb 2018 05:15PM UTC coverage: 98.246% (+0.02%) from 98.228%
1304.1

push

travis-ci

acburdine
feat(doctor): detect incorrect permissions (#613)

refs #47
closes #294

- Renames `folderPermissions` to `installFolderPermissions`
- Adds two more tasks: `filePermissions` and `folderPermissions` which check for the correct permissions inside of the ghost installation folder
	- not enabled when local processmanager is used (= local install)
	- calls `checkPermissions` util
	- `filePermissions` does not check the versions and current folder
- Refactors the `contentFolderPermissions` to be named `contentFolder` and disables task when content folder is not owned by ghost or ghost user is not found.
- Adds `checkPermissions` util which takes a property to specify which check should run:
	- `owner` checks for ownership of the content folder
	- `folder` checks if directories within the ghost installation folder have the correct permission (775)
	- `files` checks if files within the ghost installation folder have the correct permissions (664)
- Adds tests

954 of 983 branches covered (97.05%)

1961 of 1996 relevant lines covered (98.25%)

5.2 hits per line

Source Files on job 1304.1
  • Tree
  • List 0
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1304
  • Travis Job 1304.1
  • 6b614f78 on github
  • Prev Job for on master (#1301.1)
  • Next Job for on master (#1305.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc