Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsFile Permissions Problem after UpgradeFile Permissions Problem after Upgrade
Previous
 
Next
New Post
7/26/2006 3:05 PM
 

I've just upgraded from 4.0 to 4.3.  The problem I have run into is that the folders under the portal root cannot be accessed from the file manager (through both Admin and Host accounts).  Also, users who previously had access to download files (say from the documents module) now get a message page simply saying they do not have permission to access the file.  Even as the Admin user I'm locked out.

The page generated simply says "You Do Not Have Permission To View The Requested File".  The HTML source is just that.  No tags or anything just the text.

To add to this, when oone tries to upload a file in the documents module, the upload works without problem.  And, user can access the file as usual through the module.  So this only affects files that are already uploaded.  But, when one does uplad a new file, all of the directories listed in the File Location list box all have "//" after the name.

This issues does not seem to affect the repository modules and files.  Only the Documents module.

Any thoughts or suggestions?

 
New Post
7/27/2006 5:45 AM
 

Do you have file permissions set so that all users can view the files you are exposing through the documents module?  The documents module uses the core "linkclick.aspx" mechanism to deliver files to end users - so it's the core that is showing you this message.

Also:  You posted that you upgraded to "4.3".  Is that "4.3.3"?  The 4.3.x releases before 4.3.3 were release candidates and betas - and had various bugs, some of which may be causing your problem.


 
New Post
7/27/2006 7:40 AM
 

It's the 4.3.3 version, the latest that's on the site now (sorry I did not specify).

All of the permissions were previously set and users could, and have been, accessing the files without problem.  This permissions issue only started after the upgrade.

Like I said though, even as the Admin I cannot access the files.  I understand your linkclick.aspx angle but it still would not explain why all the subdirectories of the portal root are not showing in the file manager.  I cannot see any of the other folders under the portal root.  Just the files.

 
New Post
7/27/2006 8:06 AM
 

Anthony,

Thanks for your help.  But, what I did was download the latest Documents module install and upgraded from 3.1.0 to 3.1.5 and that has resolved my issues with the documents module.

Except, now that I look at it...

The folder locations in the File Location listbox still have the "//" after them.  And, my subdirectories do not show up in the file manager under the portal root.  But I suppose that is all a topic for another forum.

 
New Post
7/28/2006 2:15 AM
 
anthony.glenwright wrote
Do you have file permissions set so that all users can view the files you are exposing through the documents module?

Hmm...

That question is rather presumptuous.  File permissions? Where?  Is this a setting in the "Documents" module, or the File Manager? is this a setting in the Host panel or Admin panel? NTFS? Care to specify? Are you suggesting that all users should have 'View Folder' permissions on the 'File Manager', 'Security Settings' page?  If so...then why doesn't version 4.3.3 upgrade just set that by default? (To preserve the previous behaviour?)

I think the more relevant question is: "Why/How does version 4.3.3 alter the file permissions from their previous settings?"  For example, I was running a fresh install of 4.0.3 then applied the 4.3.3 Upgrade package.  What was working is now not working and I am having a difficult time understanding:

  1. what has changed so that first my users were seeing a 'Permissions not sufficient' message and now (after I've applied the latest Documents Module update) only administrators can actually view the list of documents in a document module instance.  (For all other users the table appears empty)
  2. what to change to restore the previous behaviour.  (To ensure that visitors of my site are able to download the same files they were able to download prior to applying version 4.3.3).
  3. why does version 4.3.3 alter the permission settings? why did nobody mention it?  (I'm looking in the DotNetNuke_4.3.3_Upgrade.zip package -- there's nothing in the Readme.txt which might indicate that file permissions are to be altered by this upgrade).

I've looked in the "Help" and "Online Help" for both the Documents module and the File Manager module and I see nothing that would indicate that (a) file permissions must be set one way or other to allow anonymous visitors to view the files; or (b) the Documents module has undergone a breaking change in this update.

I've looked at the new drop-down list in the File Manager:

  • Insecure - File System
  • Secure - File System
  • Secure - Database

Is that somehow related to this whole problem? WOW! I hope not...That new drop-down list is so under-documented that I'm afraid to touch it! It's currently set at "Insecure - File System" -- so should I assume that anonymous visitors to my site should be able to access files within the folders of my site? I hope so because there are images, documents, css files, you know...stuff that I want people to see or browsers to download.

If I change it to "Secure - File System" will DotNetNuke then require an SSL connection or enforce authentication before displaying any content within those folders?  Forgive me if this sounds like a ridiculous question but without any documentation about the behaviour of this feature...well...I'm left guessing.

Running Blind.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsDocumentsDocumentsFile Permissions Problem after UpgradeFile Permissions Problem after Upgrade


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out