Re: [CentOS] Apache umask

2020-07-15 Thread Leon Fauster via CentOS

Am 15.07.20 um 20:02 schrieb Emmett Culley via CentOS:

On 7/15/20 2:39 AM, Gianluca Cecchi wrote:
On Wed, Jul 15, 2020 at 2:39 AM Emmett Culley via CentOS 
mailto:centos@centos.org>> wrote:



    Thanks for the info.  I hadn't seen that before nor many of the 
links.  I had seen the suggested systemd fix, but have never been able 
got them to work. And I've tried many combinations.  Still no luck.


    There has to be a way to get this done.

    Emmett


Hi,
what is the original need? Could it be that you can accomplish the 
desired effect using ACL on particular directories/files?


Gianluca


Might could, but that seems like overkill for my purposes, as I don't 
use ACLs anywhere else.  I cannot be the only developer that needs 
apache created files to be managed by a group.  The truth is some sites, 
like wordpress or joomla, can be better managed when a group member can 
read or write apache created files.  Like via SFTP or local FTP.


Today, I have to make all files world writable to update joomla, and 
that could be better managed by allowing the owning group to access 
those files.  In the case where the client manages the site, I have to 
log into the server and change the permissions every time they update 
the site.  Or even to update most plugins.



This is best addressed in the application.

For example in wordpress you can set

define( 'FS_CHMOD_DIR', ( 0775 & ~ umask() ) );
define( 'FS_CHMOD_FILE', ( 0664 & ~ umask() ) );



Wprdpress sites are better, but even then, I still sometimes need to set 
and unset explicit file permissions depending on the plugins installed.


All this would not be an issue if apache created files with a unask of 
002.  One simple adjustment to the server to allow us to use normal 
Linux file permissions to manage files.


If I don't find a solution to this I guess I'll have to use your ACL 
suggestion. It is getting to be pain to manage multiple sites in the 
current manner.



If the application is to dumpy then ACL is your solution.
ACL has a default flag that allows setting permissions that
gets heritaged. So that files in the future get the right permissions.



Surely someone knows how to force apache to use a umask of 002, other 
than building from source.


Not a best practice.


--
Leon


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache umask

2020-07-15 Thread Emmett Culley via CentOS

On 7/15/20 2:39 AM, Gianluca Cecchi wrote:

On Wed, Jul 15, 2020 at 2:39 AM Emmett Culley via CentOS mailto:centos@centos.org>> wrote:


Thanks for the info.  I hadn't seen that before nor many of the links.  I 
had seen the suggested systemd fix, but have never been able got them to work. 
And I've tried many combinations.  Still no luck.

There has to be a way to get this done.

Emmett


Hi,
what is the original need? Could it be that you can accomplish the desired 
effect using ACL on particular directories/files?

Gianluca


Might could, but that seems like overkill for my purposes, as I don't use ACLs 
anywhere else.  I cannot be the only developer that needs apache created files 
to be managed by a group.  The truth is some sites, like wordpress or joomla, 
can be better managed when a group member can read or write apache created 
files.  Like via SFTP or local FTP.

Today, I have to make all files world writable to update joomla, and that could 
be better managed by allowing the owning group to access those files.  In the 
case where the client manages the site, I have to log into the server and 
change the permissions every time they update the site.  Or even to update most 
plugins.

Wprdpress sites are better, but even then, I still sometimes need to set and 
unset explicit file permissions depending on the plugins installed.

All this would not be an issue if apache created files with a unask of 002.  
One simple adjustment to the server to allow us to use normal Linux file 
permissions to manage files.

If I don't find a solution to this I guess I'll have to use your ACL 
suggestion. It is getting to be pain to manage multiple sites in the current 
manner.

Surely someone knows how to force apache to use a umask of 002, other than 
building from source.

Emmett

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] force CUPS print server to fit-to-page

2020-07-15 Thread Stephen John Smoogen
On Wed, 15 Jul 2020 at 11:18, Josh  wrote:
>
> Any other suggestions? Does anyone on this list use CUPS as a print server
> for Apple devices or is a CUPS expert?
>
> Original question:
> https://lists.centos.org/pipermail/centos/2020-July/351009.html
>

Usually for CUPS issues, I check to see if a MacOS-X system shows the
same problem. If it doesn't then I try to work out what the Mac has
set up differently to make it work. This can be from a different PPD
to a 'helper' program which does a translation. That is as far as my
'expertise' goes on CUPS these days.


> Thank  you,
> Josh.
>
> On Fri, Jul 10, 2020 at 11:11 AM Josh  wrote:
>
> > On Thu, Jul 9, 2020 at 3:18 PM Frank Cox wrote:
> >
> >> On Thu, 9 Jul 2020 13:00:19 -0400
> >> Josh wrote:
> >>
> >> > Does anyone have any ideas?
> >>
> >> Did you set /etc/papersize?
> >>
> >
> > Initially I did not, because based on
> >
> > man  paperconf
> >
> > the default paper size is letter.
> > Still, after running
> >
> > sudo paperconfig -p letter
> >
> > which created /etc/papersize and restarting cups there are no changes.
> >
> > Josh.
> >
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] force CUPS print server to fit-to-page

2020-07-15 Thread Josh
Any other suggestions? Does anyone on this list use CUPS as a print server
for Apple devices or is a CUPS expert?

Original question:
https://lists.centos.org/pipermail/centos/2020-July/351009.html

Thank  you,
Josh.

On Fri, Jul 10, 2020 at 11:11 AM Josh  wrote:

> On Thu, Jul 9, 2020 at 3:18 PM Frank Cox wrote:
>
>> On Thu, 9 Jul 2020 13:00:19 -0400
>> Josh wrote:
>>
>> > Does anyone have any ideas?
>>
>> Did you set /etc/papersize?
>>
>
> Initially I did not, because based on
>
> man  paperconf
>
> the default paper size is letter.
> Still, after running
>
> sudo paperconfig -p letter
>
> which created /etc/papersize and restarting cups there are no changes.
>
> Josh.
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] CentOS-announce Digest, Vol 185, Issue 3

2020-07-15 Thread centos-announce-request
Send CentOS-announce mailing list submissions to
centos-annou...@centos.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.centos.org/mailman/listinfo/centos-announce
or, via email, send a message with subject or body 'help' to
centos-announce-requ...@centos.org

You can reach the person managing the list at
centos-announce-ow...@centos.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of CentOS-announce digest..."


Today's Topics:

   1. CESA-2020:2894 Important CentOS 7 dbus Security   Update
  (Johnny Hughes)


--

Message: 1
Date: Tue, 14 Jul 2020 22:54:19 +
From: Johnny Hughes 
To: centos-annou...@centos.org
Subject: [CentOS-announce] CESA-2020:2894 Important CentOS 7 dbus
SecurityUpdate
Message-ID: <20200714225419.ga30...@bstore1.rdu2.centos.org>
Content-Type: text/plain; charset=us-ascii


CentOS Errata and Security Advisory 2020:2894 Important

Upstream details at : https://access.redhat.com/errata/RHSA-2020:2894

The following updated files have been uploaded and are currently 
syncing to the mirrors: ( sha256sum Filename ) 

x86_64:
f88bd838d89563321c366b251cbc62b30192c07f2ae42a69ca4a7bef46cbf389  
dbus-1.10.24-14.el7_8.x86_64.rpm
88de47304b6ff5330938b5ca348a52ff5a597d6ccdfbf7c1d033ad30746fdb43  
dbus-devel-1.10.24-14.el7_8.i686.rpm
0b6321bbe42291d74c8c395022d9ce20d35d9e81d85b535dbf6d1ae4e4c654b0  
dbus-devel-1.10.24-14.el7_8.x86_64.rpm
a5d8ef0e0d92ed6845207edee79fbf1cc317c55aa50557b466245c5c92786595  
dbus-doc-1.10.24-14.el7_8.noarch.rpm
5e68a0fbe453f32c67b02836601c285b870a582654db49c0072413e3334a60ac  
dbus-libs-1.10.24-14.el7_8.i686.rpm
2ecaa8b312b5996a29300e0203810840f991c8e8399e78156422add72728fa17  
dbus-libs-1.10.24-14.el7_8.x86_64.rpm
929c30d3e6104f4086e9ba83d9cf8873a4378aef7e64175986c55382eeb80840  
dbus-tests-1.10.24-14.el7_8.x86_64.rpm
1329955ae245ec899ed66ee984e30cecf30a40679f1bd0feff952529cb0fe641  
dbus-x11-1.10.24-14.el7_8.x86_64.rpm

Source:
6307a61cdc84308f14a0aa074be87630b23d78f804ecd75b27c73f3a877b7dc6  
dbus-1.10.24-14.el7_8.src.rpm



-- 
Johnny Hughes
CentOS Project { http://www.centos.org/ }
irc: hughesjr, #cen...@irc.freenode.net
Twitter: @JohnnyCentOS



--

Subject: Digest Footer

___
CentOS-announce mailing list
centos-annou...@centos.org
https://lists.centos.org/mailman/listinfo/centos-announce


--

End of CentOS-announce Digest, Vol 185, Issue 3
***
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Apache umask

2020-07-15 Thread Gianluca Cecchi
On Wed, Jul 15, 2020 at 2:39 AM Emmett Culley via CentOS 
wrote:

>
> Thanks for the info.  I hadn't seen that before nor many of the links.  I
> had seen the suggested systemd fix, but have never been able got them to
> work. And I've tried many combinations.  Still no luck.
>
> There has to be a way to get this done.
>
> Emmett
>
>
Hi,
what is the original need? Could it be that you can accomplish the desired
effect using ACL on particular directories/files?

Gianluca
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 8 & HandBrakeCLI

2020-07-15 Thread Fabian Arrotin
On 13/07/2020 22:38, Tony.Molloy wrote:
> On Mon, 2020-07-13 at 08:55 -0400, mail...@toolz.com wrote:
>> EXTERNAL EMAIL: This email originated from outside of the University
>> of Limerick. Do not click on links or open attachments unless you
>> recognize the sender's email address and know the content is safe.
>> On 2020-07-13 05:09, Kay Diederichs wrote:
>>> On 7/13/20 4:04 AM, Frank M. Ramaekers Jr. wrote:
 Since I upgraded to CentOS8, I cannot get HandBrakeCLI to work:
>>
>> I could not get HandBrake to work under CentOS 8, so I installed it 
>> under
>> Zorin 15 (an Ubuntu-derived German distro).  There, it works
>> great.  I 
>> did not try
>> any of the other distros derived from Debian or Ubuntu itself.
>>
>> Todd Merriman
>> Software Tooolz, Inc.
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> https://lists.centos.org/mailman/listinfo/centos
> 
> HandBrake-1.3.3-1.el8 and HandBrake-gui from RPM Fusion work fine on
> CentOS-Stream 8. Haven't tried on CentOS 8.
> 
> Tony

Indeed : what I have on my CentOS 8 laptop too and no issue :

HandBrake-1.3.3-1.el8.x86_64
HandBrake-gui-1.3.3-1.el8.x86_64


-- 
Fabian Arrotin
gpg key: 17F3B7A1 | twitter: @arrfab



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos