IMCE Permission Problem

kelpie_ - February 27, 2008 - 00:48
Project:IMCE
Version:5.x-1.0
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

1st of all : Great module...working like expected. But...
Say 100 users create folders, by default named u1-u100...i discovered, that i have no permission on my webspace to delete files or subfolders using a ftp-client (in my case filezilla). i can browse and delete any files using the masteruser, but this will take much longer than deleting files via ftp-client and i still can´t delete
the subfolders. so where might be the problem here and how might i solve it ?

main directory : drupalsite/files/... (chmod 777)
sub directories : u(x) (chmod 775)
files : filename.xxx (chmod 664)

So...i´m not good with web stuff :)...i still wonder if this is maybe an issue for my ISP :)

#1

kelpie_ - February 27, 2008 - 01:43

ah...forgot :

drupal 5.2
imce 5.x-1.0

i suppose that this is a problem with the owner of the dirs/files. since i can´t chmod them to 777 (or whatever)
i´d say that the owner of the given files is the user executing the php script.
the only solution i can see is changing the owner back to the ftp-user...and that would be a neverending story, too...

hm :/

#2

jlmeredith - July 18, 2008 - 21:19

I have the same issue and my host has indicated that this is not something that can be fixed server side. It has to do with how php is running on the server. You will also probably notice that the owner:group are set to apache, which is due to how the module is creating the folders - I think.

#3

s.Daniel - July 30, 2008 - 15:20
Category:support request» feature request

Can confirm this for 6.x-1.1 as well.
Best thing would be an option to enable this behaivior but change the default so admins can use ftp to move/change/delete files/folders I beliefe.
Changing to feature request as it seems not like a big bug but also like something that should probably change.

 
 

Drupal is a registered trademark of Dries Buytaert.