Apache and umask for document root
I've set up a virtual host for a joomla website and having some
permissions problems. I've seen numerous configurations online about
how to set umask for the apache user, but none have worked, including
creating a systemd file
(/etc/systemd/system/multi-user.target.wants/httpd.service) with the
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
# Send SIGWINCH for graceful stop
The problem is that the files are owned by the joomla user, but also
need to have access (both read and write) to be able to modify some
files within the document root.
Does anyone have any suggestions on how to set umask for the apache user?
I'm also interested in recommended permissions settings for the joomla
7 months, 3 weeks
SATA optical drives
by David Fletcher
I'm currently running FC5, will probably upgrade to F7 in a couple of months.
Unfortunately my CD/DVD rewriter appears to have died, before it's
even seen a dual layer disk :'(
SATA hard drives run without problems for me, but now that SATA
optical drives are starting to appear in the shops, would it be OK to
buy one of these and get rid of another wide ribbon cable?
Is anybody already running them with Fedora?
Thanks for any advice/experiences.
8 months, 1 week
[FC8] ssh and CAC card???
by Todd Denniston
From what I understood, the change to openssh listed in:
rpm -q --changelog openssh |less
"* Wed Jun 20 2007 Tomas Mraz <tmraz(a)redhat.com> - 4.5p1-7
- experimental NSS keys support
- correctly setup context when empty level requested (#234951)
was supposed to allow the Common Access Card (CAC) to work with the shipped
Fedora 8 ssh.
As per NSS usual, everything is undocumented, i.e., `ssh-add --help` does not
help at all, and `man ssh-add` points to `ssh-add -s reader`
# ssh-add -s 0
Enter passphrase for smartcard:
Could not add card: 0
# ssh-add -s 1
Enter passphrase for smartcard:
Could not add card: 1
So does anyone know how to use the possible functionality, or are we reduced
to reading the source?
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
8 months, 2 weeks
Changing date with procmail
by Michael A. Peters
Anyone know of a procmail recipe to change the date on incoming
If the date is in the future by more than 24 hours - I'd like to just
change it to the current date.
If the date is in the past by more than two weeks - I'd like to just
change it to the current date.
I'd like to do it in procmail - if someone knows how.
I've done some searching, still have some to do.
Found some stuff on extracting the date, but not on modifying it if
9 months, 2 weeks
F33 just pretends to print
by Michael Hennebry
I have a Brother HL-L2360DL that I'd thought I'd finally managed to install.
I had to go to the Brother website to get a script to run.
The instructions for the script had the wrong name for it.
None of the default options for Brother printers came close.
The CUPS adminstration "web" pages say the right things:
Idle, accepting jobs, two completed jobs.
Nothing actually prints. Not even a test page.
The printer never comes out of deep sleep.
How do I fix this?
It worked with Centos 7, but I do not know what I did.
In my experience, there is no such thing as a small problem when it comes to
installing a printer on Linux:
Either it just works or it requires a mighty effort.
I am getting mighty tired of mighty efforts.
BTW how do I change the default from single- to double-sided?
"Sorry but your password must contain an uppercase letter, a number,
a haiku, a gang sign, a heiroglyph, and the blood of a virgin."
11 months, 2 weeks
by david richyad
cisco ise helps safeguard your business. It lets you control access throughout your network, see the user and device details, and stop/contain any threats. You can also use it to enforce security policies throughout your network. As a result, it helps prevent any technical issues and strengthens your cybersecurity measures. In short, you can manage your network security with more ease. Everything can be handled in one place, as opposed to needing multiple different applications open at once.
1 year, 1 month
Improper shutdown, now Kernel panic.
by murph nj
I've got an odd problem that I was hoping for some help on.
The laptop was previously working fine, I am running F30, updated regularly.
I've got an Acer laptop that has been shutting down suddenly. (I
suspect a bad battery, working on that.)
After a sudden shutdown last night, I now get a kernel panic on boot
right after "Starting Switch Root..."
I was able to boot from a USB stick, and was able to read the journal,
but I didn't see anything obvious to help.
I was able to get all of my data off of the (encrypted) disks, so
that's not a problem, but I don't want to just give up, and wash and
reload too quickly.
1 year, 2 months
Xbox 360 controller on Fedora 32
by Greg Woods
It has been a couple of years (which means 4 or 5 Fedora releases ago)
since I did this, but I used to be able to play Xonotic using my Xbox 360
Wireless controller. Now I cannot get the controller to work properly in
F32 (it works in Windows 10 so I know the hardware is OK).
This most likely has something to do with the move from xboxdrv (which is
no longer available in Fedora) to xpad kernel driver, and/or the move from
the old js driver to evdev. The xpad driver comes with the current kernel,
but what I cannot figure out is how to calibrate the controller. If I run
Xontic with the controller connected, the game world just spins
counterclockwise. This is a symptom of the controller needing to be
calibrated, but I don't know how to do it. I tried using "jscal", but if I
run "jscal -c" to calibrate it, it appears to work but doesn't. I can
immediately run "jscal -t" and it will say it is not calibrated, and
running "jstest" also shows it is not calibrated (several of the axes are
not centered, i.e. show nonzero values in jstest).
I attempted to download and compile xboxdrv, but it does not work due to
Python 2 vs. 3 incompatibilities, and it doesn't look like any work has
been done on xboxdrv in quite some time. If I try to make it, I get this:
root@snowcrash xboxdrv-linux-0.8.8]# make
scons: Reading SConscript files ...
File "/local/src/xboxdrv-linux-0.8.8/SConstruct", line 34
SyntaxError: Missing parentheses in call to 'print'. Did you mean
make: *** [Makefile:24: xboxdrv] Error 2
Certainly looks like Python version incompatibility.
Can anybody point me to information on how to use an Xbox 360 controller on
F32, or how to calibrate it when using the xpad driver? I have done a lot
of Googling, but most of the articles I found mention things like "apt-get
install xboxdrv", showing they were written for Ubuntu rather than Fedora
and are wanting to use the xboxdrv driver.
1 year, 10 months
Not setting net/ipv4/conf/all/rp_filter (explicit setting exists)...
by Neal Becker
With today's updates I saw these messages:
Not setting net/ipv4/conf/all/rp_filter (explicit setting exists).
Not setting net/ipv4/conf/default/rp_filter (explicit setting exists).
Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists).
Not setting net/ipv4/conf/default/accept_source_route (explicit setting
Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
Not setting net/ipv4/conf/default/promote_secondaries (explicit setting
Should I care?
*Those who don't understand recursion are doomed to repeat it*
2 years, 1 month