-
Notifications
You must be signed in to change notification settings - Fork 288
class.AbstractAccessDriver::fixPermissions wrong CHMOD given #401
Comments
Any news about this issue ? :) |
hi @warhawk3407 coming back on you on that, any news? I close it, please reopen if necessary. |
hi @cdujeu :-) Tried today on 5.2.5, I have been able to reproduce the bug on my fresh set up :( So for me, it is NOT FIXED. See: I have compared the output from the terminal and ajaxplorer. They are different. Regards |
ok ok i reopen it :-) |
Mmm, re-reading, what value does your "fix permission" parameter have?? Because if it's set to "user", it's normal because it means "apply user right to all", so typically transform 7XX to 7X7. |
Here is the repo configuration: Now, if I create a file using my repository user (warhawk), with a default umask I have got this : To my mind, there is no reason to get a "rwx" on the "other group" in Pydio (CHMOD 646 in Pydio instead of 644 in the terminal). Maybe Pydio is using this little "hack" to allow read/write perms on repos ? Concerning this plugin, I would like to see the real perms as displayed in the terminal when you are connected to the repository, as the user you entered in the repo settings :) |
Up ? :) |
Hi |
Ok so if it is a permission hack intentionally made for Pydio, I'm okay :-) You can close this issue. |
Hello,
Using the SFTP_PSL plugin, we can see that the CHMOD octal number is wrong.
If the folder has "0755", pydio will display "0757" (using "more" -> "File Permissions").
The problem seems to come from the method fixPermissions in class.AbstractAccessDriver @ line 494.
I can't understand the different operations done...
The chmod given by the SFTP_PSL plugin is correct : "40755" (directory)
I can't debug the lines because the way it was coded is too obfuscated for me...
Regards
The text was updated successfully, but these errors were encountered: