Project

General

Profile

Actions

Bug #27029

closed

File rights incorrect: Cronjob can't execute!

Added by Stephan Großberndt almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2011-05-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

There is a problem with the file rights in 4.4.8 and 4.5.3: All files have modification date 1.1.1970 and access rights rw-r--r-- . This is rather unfortunate, because doing a regular update will result in a non-executable "/www/cameye24.de/www/typo3/cli_dispatch.phpsh scheduler" and resulting in a non working scheduler.

ls -lah typo3_src-4.5.3/typo3/
...
-rw-r--r--@   1 sgrossberndt  staff   655B  1 Jan  1970 cleaner_check.sh
-rw-r--r--@   1 sgrossberndt  staff   784B  1 Jan  1970 cleaner_fix.sh
-rw-r--r--@   1 sgrossberndt  staff    46B  1 Jan  1970 clear.gif
-rw-r--r--@   1 sgrossberndt  staff   4,6K  1 Jan  1970 cli_dispatch.phpsh
...

ls -lah typo3_src-4.5.2/typo3/
...
-rwxr-xr-x@   1 sgrossberndt  staff   655B 26 Feb 00:20 cleaner_check.sh
-rwxr-xr-x@   1 sgrossberndt  staff   784B 26 Feb 00:20 cleaner_fix.sh
-rw-r--r--@   1 sgrossberndt  staff    46B 26 Feb 00:20 clear.gif
-rwxr-xr-x@   1 sgrossberndt  staff   4,7K 26 Feb 00:20 cli_dispatch.phpsh
...

ls -lah typo3_src-4.4.8/typo3/
...
-rw-r--r--@   1 sgrossberndt  staff   655B  1 Jan  1970 cleaner_check.sh
-rw-r--r--@   1 sgrossberndt  staff   784B  1 Jan  1970 cleaner_fix.sh
-rw-r--r--@   1 sgrossberndt  staff    46B  1 Jan  1970 clear.gif
-rw-r--r--@   1 sgrossberndt  staff   4,6K  1 Jan  1970 cli_dispatch.phpsh
...

ls -lah typo3_src-4.4.8/typo3/
...
-rwxr-xr-x@   1 sgrossberndt  staff   655B 23 Feb 15:20 cleaner_check.sh
-rwxr-xr-x@   1 sgrossberndt  staff   784B 23 Feb 15:19 cleaner_fix.sh
-rw-r--r--@   1 sgrossberndt  staff    46B 23 Feb 15:19 clear.gif
-rwxr-xr-x@   1 sgrossberndt  staff   4,7K 23 Feb 15:19 cli_dispatch.phpsh
...
Actions #1

Updated by Stephan Großberndt almost 13 years ago

I checked by

find . -type f -perm -100

the following files need execute rights (and do not have them in 4.5.3 and 4.4.8):

./typo3/cleaner_check.sh
./typo3/cleaner_fix.sh
./typo3/cli_dispatch.phpsh
./typo3/mod/user/ws/cli/ws_cli.phpsh
./typo3/sysext/indexed_search/cli/indexer_cli.phpsh
Actions #2

Updated by Stephan Großberndt almost 13 years ago

Quickfix on shell:

find . -type f -name "*sh" -exec chmod ugo+x {} \;
Actions #3

Updated by Ernesto Baschny almost 13 years ago

  • Status changed from New to Closed

Thanks for the input, Stephan. We'll take care of that in 4.5.4, which is going to be released shortly (cannot promise a date). Please continue further discussions about it in #27022, as it is not a core issue but a problem in the new packaging system.

Actions

Also available in: Atom PDF