Welcome to Geeklog, Anonymous Wednesday, April 24 2024 @ 06:25 pm EDT

Geeklog Forums

images set to what permission?


what must i set my permission to be for my images folder because i receive an eoor msg when i try to delete an image of an article saying to check my permission...which folder and what permission? meaning chmod to what number?

Status: offline


Site Admin
Registered: 06/24/02
Posts: 352
Location:Colorado, USA
Since the image file is created by the webserver, in order to delete it from the shell you must either be logged in as the owner (probably one of nobody, apache, or httpd depending on your config) or you must be root. Alternatively you can write a quick php script that uses the unlink() php function to delete a file, then access that script from the web. i.e. <?php unlink(/path/to/file); ?> -Vinny

All times are EDT. The time is now 06:25 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content