Hi folks,
some of my s9y-installations are "out of sync" concerning user rights.
My providers gives me a ftp user, who is able to upload, download and delete own files. The webserver runs with an other user.
So, if the php script (running with the rights of the webserver user) creates files, i am not able to delete them and vice versa.
Spoken in terms of ownership:
Which directories must be owned by the webserver and which must be owned by the ftp user (regarding updates, etc.(.
Thanks for any support
Dirk
User Rights ...
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: User Rights ...
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: User Rights ...
Hi Garvin,garvinhicking wrote:Please read our FAQ, http://www.s9y.org/11.html#A15
great! Thanks a lot.
Will it be possible to divide plugins into two subdirectories? One with the delivered plugins, which can be overwritten with an update. And one with the plugins written by spartacus.
The point is, that some users have to make a support call for "chown"-command.
Example:
- new version of s9y comes
- ftp-user uploads
- support call to chown to webserveruser, alternatively set rights to 777
- spartacus updates, new files are owned by webserveruser
- new version arrives
- support call to chown to ftpuser
- upload will not work without support call, cause ftpuser does not have the rights to chmod files owned by webserveruser
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: User Rights ...
Hi!
When uploading a new s9y version, the plugins downloaded by spartacus will not be overwritten, so there should be no conflict. Because spartacus plugins are not contained in the release file!
Regards,
Garvin
Does the mentioned fixperm.php script not help you?The point is, that some users have to make a support call for "chown"-command.
When uploading a new s9y version, the plugins downloaded by spartacus will not be overwritten, so there should be no conflict. Because spartacus plugins are not contained in the release file!
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: User Rights ...
I had problems executing the script. ("Basedir restrictions ...", perhaps you remember the thread of october).garvinhicking wrote:Does the mentioned fixperm.php script not help you?
I thought, that I once saw an update of a "factory plugin"to be updated through spartacus.garvinhicking wrote:When uploading a new s9y version, the plugins downloaded by spartacus will not be overwritten, so there should be no conflict. Because spartacus plugins are not contained in the release file!
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: User Rights ...
Hi!

Best regards,
Garvin
This should not happen if you specify the right path to your serendipity_config_local.inc.php file. How does your fixperm.php exactly look like? Only "Safe Mode" could block the fixperm.php script...but safe mode sucks anyways and it's going to be removed in future PHP versions.I had problems executing the script. ("Basedir restrictions ...", perhaps you remember the thread of october).
We did outsource a few (VERY few) plugins with the 0.8 release somewhen. Blogpdf is the only plugin I can remember, though....but that's the only possibility of how a outdated core plugin could've been updated.I thought, that I once saw an update of a "factory plugin"to be updated through spartacus.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: User Rights ...
"Safe Mode" ist turned off, php-version is 4.4.0.garvinhicking wrote:This should not happen if you specify the right path to your serendipity_config_local.inc.php file. How does your fixperm.php exactly look like? Only "Safe Mode" could block the fixperm.php script...but safe mode sucks anyways and it's going to be removed in future PHP versions.
The errror is
Code: Select all
Warning: chmod(): Operation not permitted in <correct path>/fixperm.php on line 2Ok. Everything ist fine, if this is history. I am using version 0,9,1 of s9y.garvinhicking wrote:We did outsource a few (VERY few) plugins with the 0.8 release somewhen. Blogpdf is the only plugin I can remember, though....but that's the only possibility of how a outdated core plugin could've been updated.
Dirk
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: User Rights ...
Hi!
In that case, this system's server setup is a bit screwed, because there really is no way to "fix" files created by the webserver on your own. Support requests are the fault of your sysadmin then, I'm very sorry to say that.
Best regards,
Garvin
Ah, okay. That's a different error message than I anticipated. Seems the chmod() function call is forbidden via your sysadmin's PHP config."Safe Mode" ist turned off, php-version is 4.4.0.
The errror isCode: Select all
Warning: chmod(): Operation not permitted in <correct path>/fixperm.php on line 2
In that case, this system's server setup is a bit screwed, because there really is no way to "fix" files created by the webserver on your own. Support requests are the fault of your sysadmin then, I'm very sorry to say that.
Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
Lux
- Regular
- Posts: 764
- Joined: Fri Aug 12, 2005 4:36 pm
- Location: Grüt, Zürich, Switzerland
- Contact:
Re: User Rights ...
Hmpf, I think I will have to look for a VServer offering.garvinhicking wrote:Ah, okay. That's a different error message than I anticipated. Seems the chmod() function call is forbidden via your sysadmin's PHP config.
In that case, this system's server setup is a bit screwed, because there really is no way to "fix" files created by the webserver on your own. Support requests are the fault of your sysadmin then, I'm very sorry to say that.
Thanks for your support.
DIrk