Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2004
Posts: 86
journeyman
journeyman
Joined: Oct 2004
Posts: 86
Well, here's an actual "how things operate" question.

On our test run of the board in prep for the big cutover this evening, we've been getting "blank" content reports from our internal staff during testing.

I've isolated it down to permissions issues on the templates\compile directory. Because our entire site is protected with NTLM auth, our permissions are a little more prone to "opportunities".

This directory has the correct inherited permissions and is set to propagate them to the child objects. This works fine for most users. But, it seems that for some users (and I'm guessing it's the one or two of us with elevated domain priveleges), the files are being created without permissions for the appropriate access groups. This in turn causes little spots of blank content for the users (watch list screens, pm edit screen, etc... it varys widely.)

I'm trying to figure out how to remedy this, but don't understand the whole workings. When I change permissions correctly, the blank content issues are resolved. But I don't know if/when these files will be removed/recreated, etc. Will they eventually be recreated for all templates? Also, what process is creating them? Perhaps it isn't in an appropriate group so it's ignoring the inherited permissions and building from scratch.

Thanks,
Tim

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Basically, any time a page is loaded a compiled template is created in the templates/compile folder for the requested page. If you delete them, they'll come back. It's part of the Smarty template engine. So really it needs read/write and modify privileges on the files and folder.

Joined: Oct 2004
Posts: 86
journeyman
journeyman
Joined: Oct 2004
Posts: 86
It has appropriate permissions for a variety of groups and is set to create new files in this directory with these permissions. The strange thing is that upon file creation, it doesn't create using those permissions. It creates with the currently logged on user, and a new set of permissions (SYSTEM, Local Admins, NETWORK SERVICE, etc.) An exception would be in the case of a user with administrative privs, as they just get the basic local system groups, without their user receiving permissions.

I imagine this is affecting us due to the fact our entire forums implementation is behind authentication. I guess in a case where it's all anonymous users, this isn't a big deal.

What is strange though, is that even though cache files, and other writable directories are set the same way, this only happens here.

I guess when all of these are created, any modifications, etc. at a later time will keep the same permissions. The issue is permissions that occur during initial creation. So, unless it deletes the old file and re-creates a new one, as opposed to just overwriting, I might be ok. I did take a spin through everything I could imagine, and then had that directory replace permissions on all child objects. I'll see if anyone experiences the blank content again.

Thanks,
Tim


UBB Since November 07, 2000.

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 298 guests, and 124 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)