Re: Group write permissions /etc/asterisk/.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On 06-03-12 23:03, Jason Parker wrote:
It should only set them if the directory does not exist.  If it's changing them,
something is very seriously broken.

An RPM which updates a previous version will change the user/group & permissions of any existing directory or file as it is instructed to.
I just tested it on CentOS 6 to verify:

1) RPM #1 installs /etc/test and file /etc/test/mytest.txt
   user/group = asterisk/asterisk, dir/file perms are 0750/0640

2) manually change user/group/perms of directory/file to
   something else

3) RPM #2 updates RPM #1. RPM #2 sets user/group to asterisk/asterisk
   and dir/file perms to 0750/0640. So it's back to the original
   settings from the spec file.

Not setting user/group ownership and permissions will make rpmbuild use defaults (iirc root:root for ownership, 755 perms for directories and 644 perms for files).


-- Bandwidth and Colocation Provided by --
New to Asterisk? Join us for a live introductory webinar every Thurs:

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

[Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [DCCP]     [Gimp]     [100% Free Online Dating]     [Yosemite News]     [Arts & Crafts]     [Yosemite Photos]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]

Add to Google Powered by Linux