Score:0

Give permission to Larvel web app in Centos 7 to add/delete/edit files

us flag
  • I build a new web interface by Larvel 8 for nagios core in Centos 7, everything is OK I can open the interface in browser, except one thing it s add/delete/edit files in nagios repositry cuz I want to automate this process, but it's obviously permission problem.

  • So I try all solutions I founded but none of them works, Can you please help me on this?

this is the details about nagios repository:

# ls -la /usr/local/nagios/
total 12
drwxr-xr-x.  9 root   root     94 Apr  7 11:43 .
drwxr-xr-x. 13 root   root    145 Apr  7 11:39 ..
drwxrwxr-x.  2 nagios nagios  117 May  3 18:29 bin
drwxrwxr-x.  3 nagios nagios  132 Jun 10 09:55 etc
drwxr-xr-x.  2 root   root      6 Apr  7 11:43 include
drwxrwxr-x.  2 nagios nagios 4096 Apr 22 16:04 libexec
drwxrwxr-x.  2 nagios nagios 4096 Apr  7 11:39 sbin
drwxrwxr-x. 12 apache apache 4096 May 14 19:08 share
drwxrwxr-x.  5 nagios nagios  200 Jun 17 17:13 var
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.