Old 17th October 2014, 11:39   #1
WizardX
Member
 
Join Date: Oct 2007
Location: Amsterdam, The Netherlands
Posts: 83
logfiles create with undesired chmod

At this moment sc_serv writes its new/rotated logs as rw-rw---(660). Is it possible to define a different chmod? I write logfiles to a nfs mount and other users should be able to read it (logprocessing etc). So it would be nice if I could get them as rw-rw-r-- (664).
WizardX is offline   Reply With Quote
Old 17th October 2014, 12:21   #2
DrO
 
Join Date: Sep 2003
Posts: 27,873
i will re-check things as looking at the permissions on 2 different linux installs running the same DNAS version, one does as you describe and the other one has them all showing as rw-rw-rw (though for the archived copies of the files, they all show as rw-rw---).
DrO is offline   Reply With Quote
Old 17th October 2014, 12:59   #3
DrO
 
Join Date: Sep 2003
Posts: 27,873
for ease (so fopen() and open() usage matches un unmask() is made use off), i've set everything to be done as rw-rw-rw- (666) so it then follows a consistency with other aspects imposed by the OS.
DrO is offline   Reply With Quote
Old 17th October 2014, 13:09   #4
WizardX
Member
 
Join Date: Oct 2007
Location: Amsterdam, The Netherlands
Posts: 83
That will be in the next build I suppose?
WizardX is offline   Reply With Quote
Old 17th October 2014, 13:17   #5
DrO
 
Join Date: Sep 2003
Posts: 27,873
yes which should be released by the end of the month.
DrO is offline   Reply With Quote
Old 17th October 2014, 13:28   #6
WizardX
Member
 
Join Date: Oct 2007
Location: Amsterdam, The Netherlands
Posts: 83
Great, Thumbs up
WizardX is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump