Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
I'm getting
Code
Can't write to the /home/drumline/public_html/threads/styles directory!
I have chowned and chgrped to drumline for styles and all folders/files within. I have also chmod 777 styles and styles/images as well as chmod 666 all files in styles and styles/images.

When I create a new style, however, it is owned by nobody and I have to chown it.

I can delete styles just fine...

Last edited by DLWebmaestro; 02/12/2009 2:29 AM.
Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
All css and php files that UBB creates in the styles directory have ownership of nobody and group ownership of nobody. If I import a style, it works fine, but it is set to nobody so I cannot edit it. If I try to create a style, every time it creates an empty style and I cannot edit it. Even after I telnet in as root and chown and chgrp, I cannot edit any of my styles.


Last edited by DLWebmaestro; 02/13/2009 1:13 AM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, will need to look at this and make sure we're trying to set permissions properly.

Joined: Mar 2008
Posts: 326
D
Enthusiast
Enthusiast
D Offline
Joined: Mar 2008
Posts: 326
I found the problem. It really does not like it when you try to create a style with any forward slashes in its name. This creates the following line in its attached PHP file of something like
PHP Code
 "css" => "hot/cold_1234502805.css" 
which is read as "hot" being a folder.

Moral of the story, for the time being, do not use forward slashes when naming styles. And apparently, the owner being nobody has nothing to do with it, since this is still the case for new files, but it works as long as you don't include that pesky forward slash.

Last edited by DLWebmaestro; 02/13/2009 1:34 AM.

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
1 members (Ruben), 1,248 guests, and 268 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)