Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2005
Posts: 41
M
newbie
newbie
M Offline
Joined: Mar 2005
Posts: 41
Every time I update a UBBT7 Style, the permission for the CSS file reverts to 600. I am getting tired of resetting it manually to 666.

What's doing this?

TIA...

Joined: Jun 2006
Posts: 956
Old Hand
Old Hand
Joined: Jun 2006
Posts: 956
It seems your server write files with permission 0600. The styleeditor scripts haver no changemod inside. Some other scripts like the filemanager do a change like this:
chmod("{$config['ATTACHMENTS_PATH']}/$FileName",0666);

Now we heave to find the propper place where the style is written to the file and add the above code (with propper vars names)


my board: http://www.dragonclan-forum.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 868 guests, and 467 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)