group jogok

Fórumok

group jogok

Hozzászólások

Halló,

pureftpd-vel [url="http://hup.hu/modules.php?name=Forums&file=viewtopic&t=4130&highlight=pureftpd&sid=48b5404119caf9f128d3ab1cf9f122f1"]küzdök[/url], és az a bajom, hogy a pureftpd nem álljtja be rendesen a feltöltött fájlok jogait. Aztán néztem archjvumot, és azt mondták, hogy:

Ok, the issue seems to be solved.

The standard BSD behavior is that when a new file is created, his group
inherit the group of the parent directory.

In Rob"s setup, the user he was logged as through pureftpd/mysql had his
directory owned by "user", but group "wheel".

So all new files did belong to "wheel". This isn"t a pureftpd specific
behavior, any program shows the same behavior on BSD systems. Linux does
*not* work that way unless the setgid bit is set on the directory. It
explains why he gets different results on the Debian box with the same setup.

Tehát ez sztender bsd feature, de én nem szeretném, vagyis azt szeretném, ha olyan gid-del képződnének a fájlok, amit mondok neki.

Lehet ezzel kezdeni valamit, vagy nyugodjak bele?