Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
master profile mode create user directories https://www.tinywebgallery.com/forum/viewtopic.php?f=13&t=2926 |
Page 1 of 1 |
Author: | chryong [ 19. Mar 2011, 20:56 ] |
Post subject: | master profile mode create user directories |
I've probably configured it incorrectly because my master profile mode front end profile is creating user directories but is not giving them permissions to upload files. Can you tell me what the settings are supposed to be? my settings are attached |
Author: | TinyWebGallery [ 19. Mar 2011, 21:53 ] |
Post subject: | Re: master profile mode create user directories |
1. are you sure you need the ftp mode? 2. On the main config page of JFU you can define with which rights folders are created. Simply set the setting like for folders you can upload. check also the owner! Then you see if you need the ftp oder the normal mode. Best, Michael |
Author: | chryong [ 20. Mar 2011, 19:36 ] | ||
Post subject: | Re: master profile mode create user directories | ||
I tried that but the directory is still created with incorrect permissons (see below output of ls -la) any other hints? dr-----rwt 2 apache apache
|
Author: | TinyWebGallery [ 20. Mar 2011, 19:39 ] |
Post subject: | Re: master profile mode create user directories |
which php version do you use? because chmod with ftp is only available in newer versions of php. have you tried without using ftp mode for directories? - Michael |
Author: | chryong [ 20. Mar 2011, 21:21 ] |
Post subject: | Re: master profile mode create user directories |
The strange thing about my setup is that if I create directories in the back end admin component, it works perfectly fine and the directory permissions are correct. The problem occurs when a new user tries to use it from the front end for the first time and the front end plugin creates the directory, it does it with the incorrect permissions. If I go back and fix the permissions manually, the user is now able to create other folders within his "home" directory with no problems. |
Author: | TinyWebGallery [ 20. Mar 2011, 21:30 ] |
Post subject: | Re: master profile mode create user directories |
which version do you use exactly? In the master profile the ftp directory creation is not implemented yet. I should add this there too . Does it work in the backend if you disable the ftp mode ? - Michael |
Author: | chryong [ 20. Mar 2011, 21:35 ] |
Post subject: | Re: master profile mode create user directories |
My bad. Sorry for taking up your time ... someone else had the same problem and posted the solution. The solution is to remove the file create permissions from the site config ... I did that and it now works. Thanks for the awesome component and the even more awesome response to issues with the component. Chris |
Author: | TinyWebGallery [ 20. Mar 2011, 21:58 ] |
Post subject: | Re: master profile mode create user directories |
- like described at the parameters . But I'll add the ftp mode support for master profiles the next version JFU anyway. Best, Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |