D
D
Dmitry2018-09-26 20:19:04
PHP
Dmitry, 2018-09-26 20:19:04

Php on freebsd why can file permissions fail?

there is a self-written article editor on the site (not written by me)
periodically, for some unknown reason, the editor cannot access the files created by himself, to the point that you have to correct access rights from under the root.
Has anyone experienced this and what could be causing it?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
athacker, 2018-09-27
@athacker

You would write what rights the files get when they are created from the editor, and what rights they should have.

A
Andrey, 2018-09-26
@VladimirAndreev

selinux?

K
Karpion, 2018-10-06
@Karpion

Most likely - the rights of a directory influence. especially SetUID, SetGroup, sTicky.
Also see the function that creates files - what is the access mode.
Well, it would be nice - an example of rights that turned out to be wrong, and which ones should be. correct.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question