Loading...
 
Skip to main content

sh setup.sh does not change directory permissions

Status
Closed
Subject
sh setup.sh does not change directory permissions
Version
10.x
9.x
Category
  • Regression
Feature
Installer (profiles, upgrades and server-related issues)
Resolution status
Out of Date
Submitted by
Lusserall
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

Although the files are owned by the same user that runs the script the directory permissions do not get changed.


firedragonvbs@FiredragonVBS:~/public_html/cms/tiki-9.x$ sh setup.sh -u firedragonvbs -g firedragonvbs
You are not root or you are on a shared hosting account. You can now:

1- ctrl-c to break now.

or

2- If you press enter to continue, you will probably get some error messages
but it (the script) will still fix what it can according to the permissions
of your user. This script will now ask you some questions. If you don't know
what to answer, just press enter to each question (to use default value)
> Press enter to continue:
> Multi []:
Checking dirs :
db ... ok.
dump ... ok.
img/wiki ... ok.
img/wiki_up ... ok.
img/trackers ... ok.
modules/cache ... ok.
temp ... ok.
temp/cache ... ok.
temp/public ... ok.
templates_c ... ok.
templates ... ok.
styles ... ok.
maps ... ok.
whelp ... ok.
mods ... ok.
files ... ok.
tiki_tests/tests ... ok.
temp/unified-index ... ok.
Fix global perms ...
You are not root. We will not try to change the file owners.
Change group to firedragonvbs ... done.
Fix normal dirs ... done.
Fix special dirs ... done.

Tiki is not properly set up:

The directory '/home/firedragonvbs/public_html/cms/tiki-9.x/dump/' is not writeable by www-data.
The directory '/home/firedragonvbs/public_html/cms/tiki-9.x/img/wiki/' is not writeable by www-data.
The directory '/home/firedragonvbs/public_html/cms/tiki-9.x/img/wiki_up/' is not writeable by www-data.
The directory '/home/firedragonvbs/public_html/cms/tiki-9.x/modules/cache/' is not writeable by www-data.
The directory '/home/firedragonvbs/public_html/cms/tiki-9.x/temp/' is not writeable by www-data.
The directory '/home/firedragonvbs/public_html/cms/tiki-9.x/templates_c/' is not writeable by www-data.

Solution
Workaround
Importance
5
Easy to solve?
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4310
Created
Sunday 07 October, 2012 14:52:58 UTC
by Lusserall
LastModif
Saturday 04 July, 2026 21:03:56 UTC


Show PHP error messages