I should be more specific . What I meant to ask was - is it necessary for the directory that icecast streams or serves files from to "everyone" or the "world" have at least read permissions. I do plan to experiment with the permisions but I was just asking to see if any one had already tried this. I like to lock down my system as much as possible. Thanks for the help! <p><p><p><p><p><p>----- Original Message ----- From: David M Dennis <dmd@speakeasy.org> To: "ronnie@mixsessions.com" <ronnie@mixsessions.com> Cc: Date: Subject: Re: [icecast] syntax for playlist Correct syntax for names with spaces would be the exact file name as it appears in the directory. I also use the find /full/path/to/mp3 -name '*.mp3' > /etc/icecast/playlist.txt approach. (Also would work for ogg, I am just on icecast-1.3.12, mp3 only) Example of one of my playlists: /disks/mp3/Apoptygma Berzerk - Enjoy the Silence (Live).mp3 /disks/mp3/Apoptygma Berzerk - Mourn (APB Remix).mp3 note - spaces work fine, you dont have to worry about it if you run a find to create your playlists. As for 'everyone to read' how do you mean -- on a lan with share, or the directory is 755, or the directory is served up by icecast to the world (the /usr/local/icecast/static dir) ? Its real hard to know what you are trying to do -- why not just chmod 700 /musicdirectory and see if icecast works? if you want it locked down, start testing and see what you can make of it. -Dave D +------------------------- + Dave Dennis + Seattle, WA + dmd@speakeasy.org + http://www.bauhaus.nu/dion +------------------------- On Sun, 26 Jan 2003, ronnie@mixsessions.com wrote:> few questions: > > What would be the correct syntax for mp3 names with spaces ex: > /mp3Files/Album Name/Name of the song.mp3 > > Is it necessary for files or mp3's to be in a directory that can be read by everyone? > ><p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
On Mon, 2003-01-27 at 22:45, ronnie@mixsessions.com wrote:> I should be more specific . What I meant to ask was - is it necessary for the directory that icecast streams or serves files from to "everyone" or the "world" have at least read permissions. I do plan to experiment with the permisions but I was just asking to see if any one had already tried this. I like to lock down my system as much as possible.as long as user id that icecast runs under can read the files then you can remove as much permission as you want. karl. <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
The directory I use to store my music files is owned and read/writable only by the user icecast. I "su - icecast" to log in as icecast, and have /home/icecast as my main icecast directory, so I can do "bin/start_icecast" (a shell script with commandline options) and "bin/start_ices". Hope this helps. Thomas On Monday 27 January 2003 02:45 pm, ronnie@mixsessions.com wrote:> I should be more specific . What I meant to ask was - is it necessary for > the directory that icecast streams or serves files from to "everyone" or > the "world" have at least read permissions. I do plan to experiment with > the permisions but I was just asking to see if any one had already tried > this. I like to lock down my system as much as possible. > > Thanks for the help! > > > > > > > > ----- Original Message ----- > From: David M Dennis <dmd@speakeasy.org> > To: "ronnie@mixsessions.com" <ronnie@mixsessions.com> > Cc: > Date: > Subject: Re: [icecast] syntax for playlist > > Correct syntax for names with spaces would be the exact file name as it > appears in the directory. > > I also use the find /full/path/to/mp3 -name '*.mp3' > > /etc/icecast/playlist.txt approach. (Also would work for ogg, I am just on > icecast-1.3.12, mp3 only) > > Example of one of my playlists: > > /disks/mp3/Apoptygma Berzerk - Enjoy the Silence (Live).mp3 > /disks/mp3/Apoptygma Berzerk - Mourn (APB Remix).mp3 > > note - spaces work fine, you dont have to worry about it if you run a find > to create your playlists. > > As for 'everyone to read' how do you mean -- on a lan with share, or > the directory is 755, or the directory is served up by icecast to the > world (the /usr/local/icecast/static dir) ? Its real hard to know what you > are trying to do -- why not just chmod 700 /musicdirectory and see if > icecast works? if you want it locked down, start testing and see what you > can make of it. > > -Dave D > > +------------------------- > + Dave Dennis > + Seattle, WA > + dmd@speakeasy.org > + http://www.bauhaus.nu/dion > +------------------------- > > On Sun, 26 Jan 2003, ronnie@mixsessions.com wrote: > > few questions: > > > > What would be the correct syntax for mp3 names with spaces ex: > > /mp3Files/Album Name/Name of the song.mp3 > > > > Is it necessary for files or mp3's to be in a directory that can be read > > by everyone?--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.