Bug #28814

Permission issue in Package Manager?

Added by Sebastian Kurfuerst almost 2 years ago. Updated over 1 year ago.

Status:Resolved Start date:2011-08-07
Priority:Should have Due date:
Assignee:Robert Lemke % Done:

100%

Category:-
Target version:TYPO3 Flow Base Distribution - 1.0 beta 1
PHP Version: Complexity:
Has patch: FLOW3 version affected:
Votes: 0

Description

We have had the following report:

http://lists.typo3.org/pipermail/flow3-general/2011-August/001074.html

Uncaught Exception in FLOW3 #1: Warning: chmod(): Operation not permitted in /srv/www/htdocs/flow3/Packages/Framework/TYPO3.FLOW3/Classes/Package/PackageManager.php line 451 thrown in file Packages/Framework/TYPO3.FLOW3/Classes/Error/ErrorHandler.php in line 81

#0 TYPO3\FLOW3\Error\DebugExceptionHandler::echoExceptionCli() /srv/www/htdocs/flow3/Packages/Framework/TYPO3.FLOW3/Classes/Error/AbstractExceptionHandler.php:60

#1 TYPO3\FLOW3\Error\AbstractExceptionHandler::handleException()

.. and should check if we can fix the issue or give the user a better explanation.

Associated revisions

Revision 699b8bfe
Added by Robert Lemke over 1 year ago

[BUGFIX] Remove unnecessary chmod for PackageStates

The Package Manager tried to adjust the permissions of
the PackageStates.yaml file via chmod.

This should not be necessary anymore and could even lead
to irritating error messages for some server setups.
In general, the file permissions should be set by the
setfilepermissions command in a way that even a newly
created PackageStates.yaml has the correct permissions
set.

Change-Id: I7d235228223331ccd6d7cf2f6981f26a0cd95719
Resolves: #28814

History

Updated by Andi Sugandi almost 2 years ago

Even I run:

su -c './flow3 kickstart:package Julia.Demo'
Password: 
Created .../Julia.Demo/Classes/Controller/StandardController.php
Created .../Julia.Demo/Resources/Private/Templates/Standard/Index.html

which is using root user, the issue still remains.

Updated by Mr. Hudson over 1 year ago

Patch set 1 of change I7d235228223331ccd6d7cf2f6981f26a0cd95719 has been pushed to the review server.
It is available at http://review.typo3.org/4563

Updated by Robert Lemke over 1 year ago

  • Status changed from New to Under Review
  • Assignee set to Robert Lemke

Updated by Robert Lemke over 1 year ago

  • Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow

Updated by Robert Lemke over 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF