Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   Need help with permission, posted by Dan Witteman on Fri Sep 23 01:32:15 2022 
    icon2.gif   Re: Need help with permission, posted by Mikkel D. Lund on Mon Sep 26 12:21:52 2022 
       icon2.gif   Re: Need help with permission, posted by Stefan Ritt on Mon Sep 26 12:38:29 2022 
          icon2.gif   Re: Need help with permission, posted by Stefan Ritt on Mon Sep 26 12:45:50 2022 
             icon2.gif   Re: Need help with permission, posted by Dan Witteman on Mon Sep 26 19:21:33 2022 
Message ID: 69562     Entry time: Mon Sep 26 12:45:50 2022     In reply to: 69561     Reply to this: 69563
Icon: Reply  Author: Stefan Ritt  Author Email: stefan.ritt@psi.ch 
Category: Question  OS: Linux  ELOG Version: 3.1.4-395 
Subject: Re: Need help with permission 

Sometimes this can also be an SELinux issue, if you have that service running. Try "journalctl | grep denied" to see denied resources and consult the SELinux documentation on how to fix that.

Stefan Ritt wrote:

Permissions are handled by the operating system and have nothing to do with elog. Make sure you run elog under an account which has write access to the desired directories. Consult Ubuntu documentation how to do that. Sometimes it's helpful to start elog interactively with the -v flag to see some verbose output. Maybe you can spot something there.

Stefan

Mikkel D. Lund wrote:

Hi all,

I have the same problem on Ubuntu 22.04. I have compiled from the latest tarball and copied all our logbooks from our old Ubuntu 18.04 server to a new Ubuntu 22.04. The logbooks does however not appear when I log in, so I assume ELOG doesn't have read access either?
Any hints on how to set the permissions correctly would be greatly appreciated.

Thanks,
Mikkel

Dan Witteman wrote:

Hello,

I have just installed elog onto an ubuntu focal server using <sudo make install> and I am unable to create new entries.

When I access the log via a windows PC connected to the local network, I can see the demo logbook with the 1 test post, but I cannot create or edit anything.

Attempting to post throws the error:

New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Please check that it exists and elogd has write access and disk is not full.

 

 

Please point me in the right direction to correctly set permissions and create aditional log books.

 

Thanks,

Dan

 

 

 

ELOG V3.1.5-3fb85fa6