Wed Oct 24 2007, 09:19PM
Not to sure where the problem lies but when i make a new album it creates a folder in my pics-folder with 755 as folder-attributes/permissions or drwxr-xr-x. Witch brings me to the problem that i can't upload images as i get an error that i don't have write-permission :(
Is this something that i can change in the code so that it creates a folder with other attributes/permissions?

Thx in advanced.
Back to top
Wed Oct 24 2007, 11:39PM
Hm, I'm not server administration guru but you should be able to upload to folder with 0755 permissions. Some bad thing is running on your server (safe mod?)
You can search for 'chmod(' in sgallery/ folder. I don't want to give the user a chance to set via admin panel the permissions of newly created folders as this could be a very serious security issue.
Back to top
Sat Oct 27 2007, 01:16PM
it's a recurrent problem when FTP and PHP doesn't belong to the same (UNIX) group - and some other host config
in these conditions, upload via FTP could be denied
same thing with re-upload or deletion of pictures 644

it's difficult to give full rights and keep a safe system together.
try with cpanel instead and/or ask your host
Back to top
Moderators: SonicE, veskoto, SecretR, Stoewarius, steved, McFly, Cameron, yanniiwanow
Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF

Jump:     Back to top