Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

permission and delete #18

Open
paskuale75 opened this issue Feb 11, 2022 · 22 comments
Open

permission and delete #18

paskuale75 opened this issue Feb 11, 2022 · 22 comments

Comments

@paskuale75
Copy link

Hi @simialbi what are the ideal permissions to set on the upload root folder? It often happens that you try to remove folders, the system confirms with a message but in reality it is not removed from the filesystem.
thanks

@simialbi
Copy link
Owner

On what for a System are you? Unix? Windows?

@paskuale75
Copy link
Author

Users who upload content use windows, but when I tried (with Ubuntu) to remove from the web application it made me the same joke.
thanks

@simialbi
Copy link
Owner

Which driver do you use? Local? Or FTP?

@paskuale75
Copy link
Author

I use 'Local'

@simialbi
Copy link
Owner

then change owner to the user who run's the apache or nginx (e.g. www-data)

@paskuale75
Copy link
Author

I gave maximum permissions (777 and www-data user)
Schermata da 2022-02-11 21-07-40

@simialbi
Copy link
Owner

And deletion don't work? What sais the console? Any error?

@paskuale75
Copy link
Author

It execute rm command in payload I see it, but after it re-show the folder to me.

  1. violet sign is a size command
  2. red sign is a open command
    Schermata da 2022-02-12 07-43-44

@paskuale75
Copy link
Author

paskuale75 commented Feb 12, 2022

Here the 'rm' response...
elfinder_rm_response

I noticed a very strange thing, the folder that I can't remove contains two files, if I remove them individually it removes them regularly, but if I then try to remove the emptied folder, no it keeps repeating it...

@simialbi
Copy link
Owner

And does not remove the folder?

@paskuale75
Copy link
Author

paskuale75 commented Feb 14, 2022

Not. I ask to user some details... it seems that the user (windows) creates a nested structure of folders (from windows) and then drags them into elfinder, and the folders are all systematically non-erasable...

@simialbi
Copy link
Owner

What's the owner of the directory which you're not able to delete? And with what permissions?

@paskuale75
Copy link
Author

owner is www-data with 777 permissions (ubuntu)

@simialbi
Copy link
Owner

Strange 😒

@paskuale75
Copy link
Author

Has elfinder ever been tested with operating systems other than linux ?

@simialbi
Copy link
Owner

Aye, should run on any OS

@simialbi
Copy link
Owner

What does the log say?

@paskuale75
Copy link
Author

paskuale75 commented Mar 29, 2022

Empty folder too, has problem with delete, as soon as I click on the trash button, the folder is no longer visible, but then if I refresh or recall the container folder, the removed folder comes back to life. I checked the filesystem in reality the folder always remains there and cannot be removed. Any suggestion ? Thanks
Schermata da 2022-03-29 13-56-47

@simialbi
Copy link
Owner

simialbi commented Apr 1, 2022

Difficult to analyze without having a look into it. Would that be possible?

@simialbi
Copy link
Owner

simialbi commented Apr 5, 2022

Ciao Pasquale

Thanks for the video. Does not really help. By having a look into it i meant the possibility to debug, see the logs, dump the responses etc.

@paskuale75
Copy link
Author

paskuale75 commented Apr 5, 2022 via email

@simialbi
Copy link
Owner

A direct access would be nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants