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

Solved file removing bugs when user directory is locked. #986

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

bdgreenweb
Copy link
Contributor

When user exceed disk quota exceeded cyberpanel lock his/her directory for further editing/renaming/creating new files. But unfortunately user cant delete file because the text used here "No such file or directory" to determine whether user directory is locked or not is wrong cause if any user directory is locked hello.txt file will not be able to create thus it will generate "Can not touch" output not "No such file or directory" output. Moreover previous code lock all directory which will break openlitespeed. So, i have corrected everything and tested it. it will work perfectly.

When user exceed disk quota exceeded cyberpanel lock his/her directory for further editing/renaming/creating new files. But unfortunately user cant delete file because the text used here "No such file or directory" to determine whether user directory is locked or not is wrong cause if any user directory is locked hello.txt file will not be able to create thus it will generate "Can not touch" output not "No such file or directory" output. Moreover previous code lock all directory which will break openlitespeed. So, i have corrected everything and tested it. it will work perfectly.
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

Successfully merging this pull request may close these issues.

1 participant