First of all, this is a SERVER issue. MOST hosts, for your convenience, have the SAME user assigned for FTP and the WWW-user (PHP), so you avoid these permission issues in the first place. I would recommend contacting your host about this if you want a proper solution, because it's their issue and not something we can do anything about in X3. X3 doesn't even set/use permissions ... It's just tries to "write" files/folders, and is under the laws of your hosts user/permissions system.
lxffm81 wrote:I have the issue, that when I created a gallery with the panel, I can't upload files using FTP to this folder. I'm also unable to change folder permissions to 777.
Yep, so this is because your server does not use the same user for FTP and WWW. X3 As mentioned, X3 does not "set" permissions in any way, and it is your server that has decided what user X3 (www) will write files as. If this is different from FTP, that is unfortunate ... This is not good for basic hosting. USUALLY, FTP user will have permissions to write to any folders, even if the folder is owned by another user.
Why are you trying to upload files by FTP after creating the folder by X3 panel anyway? If you want this solved, it means you need to choose a better host, as X3 cannot fix this for you.
lxffm81 wrote:How can I treat this issue? Can I force the panel to chmod 777 the created folders right away?
There is a PHP setting to set CHMOD, but I have never seen a server environment that allows this, so it is unlikely.
lxffm81 wrote:I wouldn't be to happy if it requires me to create all galleries (the folders) via FTP actually, but when created finally my lightroom workflow uploads the files via FTP to the corresponding gallery folders. So I would prefer actually both, creating the galleries using the panel but uploading the content using FTP.
Still not 100% sure why you need to upload but FTP, but I'm sure you have a good reason in your lightroom workflow. However, I need to emphasize, it is only your hosting that can solve this issue for you. I'll be straight-forward: Your are on an old-fashioned hosting setup where the host has different USER ID's assigned for FTP and WWW. This is unproductive for the user (you).