I was curious so I took a look at my sounds directory.  Most of the 
files are 644 except the g729 which are 444.  I also noticed that the 
ownerid/groupid are a non-existent 1000/1000.  I take it that the sound 
installer uses something like "tar" with the option to keep the original 
owner and groupid which it shouldn't be doing.  If it's tar it should 
use at least the option "-o" when doing the extraction to 
/var/lib/asterisk/sounds.

-rw-r--r--  1 1000 1000    6985 Dec  5  2007 zip-code.alaw
-rw-r--r--  1 1000 1000    6985 Dec  5  2007 zip-code.g722
-r--r--r--  1 1000 1000     870 Dec  5  2007 zip-code.g729
-rw-r--r--  1 1000 1000    1452 Dec  5  2007 zip-code.gsm
-rw-r--r--  1 1000 1000    6985 Dec  5  2007 zip-code.ulaw
-rw-r--r--  1 1000 1000   14014 Dec  5  2007 zip-code.wav

from asterisk/sounds/Makefile:

Makefile:       @PACKAGE=$(subst 
$(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
Makefile:       (cd $(SOUNDS_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | 
tar xf -) && \
Makefile:       @PACKAGE=$(subst 
$(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
Makefile:       (cd $(SOUNDS_DIR)/es; cat $(PWD)/$${PACKAGE} | gzip -d | 
tar xf -) && \
Makefile:       @PACKAGE=$(subst 
$(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
Makefile:       (cd $(SOUNDS_DIR)/fr; cat $(PWD)/$${PACKAGE} | gzip -d | 
tar xf -) && \
Makefile:       @PACKAGE=$(subst 
$(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
Makefile:       (cd $(SOUNDS_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | 
tar xf -) && \
Makefile:       @PACKAGE=$(subst 
$(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
Makefile:       (cd $(SOUNDS_DIR)/es; cat $(PWD)/$${PACKAGE} | gzip -d | 
tar xf -) && \
Makefile:       @PACKAGE=$(subst 
$(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
Makefile:       (cd $(SOUNDS_DIR)/fr; cat $(PWD)/$${PACKAGE} | gzip -d | 
tar xf -) && \
Makefile:       @PACKAGE=$(subst $(MOH_DIR)/.asterisk,asterisk,$@).tar.gz; \
Makefile:       (cd $(MOH_DIR); cat $(PWD)/$${PACKAGE} | gzip -d | tar 
xf -) && \

Tzafrir Cohen wrote:
> On Fri, Jul 11, 2008 at 09:56:29AM +1200, Lists wrote:
>   
>> I only did the 420 because thats what the original files looked like?
>> r-- -w- ---
>> Should I change this to 644?
>>     
>
> Yes!
>
>   

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to