sub-folders of userpics don't inherit permissions sub-folders of userpics don't inherit permissions
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

sub-folders of userpics don't inherit permissions

Started by fedexx, March 12, 2004, 06:01:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fedexx

I cannot upload the photo of my profile, gives the following error ¡El directorio destino albums/userpics/10073/ no tiene permisos de escritura!
. But the permissions I have given them (777). There is no form to insert all the photos of the profiles in a separated directory and whom it does not have to create a directory?

PLEASE HELP MEEEEEEEEEEEEE !!!!!!!!!!!!!  :cry:

[edit GauGau]
This posting was originally posted as a reply to [MOD] User Profile : Add user's Photo & Biography. Since it isn't related to the original subject I split it up to be a separate thread.
[/edit]

Joachim Müller

The error you have clearly says that coppermine (the webserver) doesn't have write access to the target diretcory "albums/userpics/10073/". Use your ftp program (or shell access, if you have) to CHMOD the "albums"-folder and everything that's within it. If CHMODing to 777 doesn't work for you, try 755 (depends on server config).

GauGau

christian

Hi.

I like the script very much - but my problem is that I cannot CHMOD a non-exsisting libary which is made for every new profile. So, how can I solve the CHMOD problem automaticly? Is there a special command that I have to make in my CuteFTP(XP) for the "userpics" libary so that the ongoing new "1xxxxx" 's are fixed by default?  :shock:

Thanks, Christian

jdbaranger

Hi

All subfolders will inherit of permissions you set to the parent directory.

Set correct permissions to folder userpics so that all new subfolder (1xxxx) inherit of userpics permissions.
Jean-Denis

christian

- but my CHMOD 0777 from the admin-panel and by FTP it still do not work  :? Christian

jdbaranger

Check :

Does this user have at least 1 private album ?
Is this user able to upload a new picture in a private album ?
userpics to 777 : how does it work ?
userpics to 755 : how does it work ?
Jean-Denis

christian

Thans for your interest in helping me out of this problem that I have with my server. But my answer to your "to-do-list" is simple: Yes, yes and no, no.

Joachim Müller

I don't know what sort of "admin panel" you use to CHMOD - if your webhost doesn't give you "real" CHMOD permissions, maybe he has switched off the propagation of permissions to subfolders. With "real" CHMOD, you set permissions for a folder once and all sub-folders that are created later will inherit the permissions that were set initially.
My guess is that there's something "fishy" with you CHMOD control. Maybe you could ask your webhost how to enable permission propagation; maybe they can CHMOD the albums folder (and everything within) with the real McCoy (the real CHMOD command) for you - this should fix things for you.

GauGau

P.S. As the last few postings aren't related to the original thread's subject, I made a new thread out of them.