[Home]

Summary:ASTERISK-19492: Group write permission removed from existing directory /etc/asterisk/. when updating
Reporter:Karl Fife (karlfife)Labels:
Date Opened:2012-03-06 16:41:12.000-0600Date Closed:2012-06-12 13:27:20
Priority:CriticalRegression?
Status:Closed/CompleteComponents:General
Versions:1.8.10.0 Frequency of
Occurrence
Constant
Related
Issues:
Environment:CentOS 2.6.18-274.18.1.el5 Attachments:( 0) ASTERISK-19492.diff
Description:Installing newer version over an existing version removes the group write permission of directory /etc/asterisk/.
First noticed migrating from 1.6.2 to 1.8.8.2
Last tried with version 1.8.10.0
Repeatable.

$ ls -ld /etc/asterisk/.
drwxrwxr-x 3 root root 4096 Feb 27 16:05 /etc/asterisk/.
$ make install
...
$ ls -ld /etc/asterisk/.
drwxr-xr-x 3 root root 4096 Feb 27 16:05 /etc/asterisk/.




Comments:By: Paul Belanger (pabelanger) 2012-03-06 20:52:01.269-0600

what is your umask set too?

By: Karl Fife (karlfife) 2012-03-07 10:41:12.112-0600

It's 022 (0022). IIRC this only applies to new directories created, no?

What's peculiar is that when migrating from
1.4.x --> 1.4.x+n and
1.6.x.y --> 1.6.x.y+n
as described earlier, the group write permission remained unchanged in response to running 'make install'.  

It's only with version 1.8.x --> 1.8.x+n that I notice it.  Not yet tried it in any 1.10.x branch.



By: Paul Belanger (pabelanger) 2012-03-07 11:58:10.637-0600

See my reply on the asterisk-user[1] list of the solution.

[1] http://lists.digium.com/pipermail/asterisk-users/2012-March/270935.html

By: Paul Belanger (pabelanger) 2012-04-12 09:22:41.090-0500

Patch up on reviewboard, please test and provide feedback