Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 806209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:12:31+00:00 2026-05-15T00:12:31+00:00

I am running apache with mod mono and my asp.net app is using mono

  • 0

I am running apache with mod mono and my asp.net app is using mono sqlite as its db. When i refresh the page twice i get the DB is locked error. The folder it is in is chmod 777. The webapp is creating sqlite.db and sqlite.db-journal but it doesnt seem to be able to delete the journal. Also it has problems when i load the page once. It definitely seems to be a permission problem.

i’m confused. What permissions do i need to set these? i tried precreating the files using 777 and had no luck.

-edit- I didnt find a solution however i thought how silly i was being since i was planning to use mysql for my webapp. So i just ported the code and i no longer had issues.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T00:12:31+00:00Added an answer on May 15, 2026 at 12:12 am

    When creating/deleting a file the directory permission matter.

    So, if you really want that, you have to set the containing directory’s permissions to 777.

    Sample:

    $ ls -la
    total 21
    dr-xr-xr-x  2 me me  1024 May 22 19:19 .          #no write permissions to directory
    drwxrwxrwt 21 root   root   19456 May 22 19:19 ..
    -rwxrwxrwx  1 me me     0 May 22 19:19 abc        #all permissions to file abc
    $ rm abc
    rm: cannot remove `abc': Permission denied        #abc has 777, but deleting doesn't work
    $ chmod 777 .                                     #change directoy's permissions
    $ rm abc                                          #now removing works
    $ ls                                              #file abc is gone
    

    The reason is that when you delete a file, you actually modify the directory and not the file itself.

    Think of a hard link: The file itself will not change when you delete one hardlink to it, but the directory changes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote an ASP.NET application and am running it on apache with mod mono.
I have an asp.net MVC web app running on mod-mono under Apache2 on Ubuntu
I have an ASP.NET application running on Apache server with mod_mono. If I have
I am trying to get a Django app running on Apache with mod_wsgi. I
I'm running an ASP.NET MVC2 application under mod_mono with mono 2.8.1 and currently have
I'm trying to deploy a Pyramid app using mod_wsgi on Apache. I get IOError:
I'm running a Django app on Apache + mod_python. When I make some changes
I'm running mod_python under Apache. If I've understood correctly, each Apache process runs its
We have a Django app running on apache server (mod_python) on a windows machine
I run an apache 2.2 web server to serve asp.net web applications with mod_mono.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.