Hallo Roland. We run the processes with su exec users. All Files belong to the exec user. The web server has access to the files via grp rights. Aber ich sehe gerade, dass Du eine deutsche Email hast. Dann können wir ja auch in Deutsch schreiben. ;-)
Beispiel: getfacl VERSION # file: VERSION # owner: SUlam # group: SUlam user::rw- user:SUlam:rwx #effective:rw- user:sFTPlam:rwx #effective:rw- group::rwx #effective:rw- group:apache:r-x #effective:r-- group:SUlam:rwx #effective:rw- group:sFTPlam:rwx #effective:rw- mask::rw- other::--- 07:28 -rw-rw----+ 1 SUlam SUlam 4 31. Mär 19:29 VERSION Thx for your help! Gruß Martin -----Ursprüngliche Nachricht----- Von: Roland Gruber [mailto:[email protected]] Gesendet: Mittwoch, 17. Juni 2015 18:31 An: [email protected] Betreff: Re: [Lam-public] pdf file permission. set to 600 should 660 Hi Martin, how do you access the files, locally on server? 600 is fully ok since only the web server must read and write these files. Best regards Roland On 17.06.2015 14:54, Martin wrote: > Hallo zusammen! > > When creating a PDF the file is created with 600. therefore I get: > You don't have permission to access /ldap-account-manager/tmp/xy.pdf > on this server. > > I need the server to set the rights to 660. After chmodding the file i > can access it. > > What do I need to do? > > Thx for your help. > Martin > > > ---------------------------------------------------------------------- > -------- _______________________________________________ > Lam-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lam-public > ------------------------------------------------------------------------------ _______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
