Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

50 users online



Permission denied, rmdir

Permission denied, rmdir

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 3
Dexxaboy

Dexxaboy

Neverside Newbie
Status: Offline!

Permission denied, rmdir

Im using rmdir() to remove a dir (on localhost), but i get permisson denided

Im using Apache 1.3, and WinXP

Any ideas why i wont work?

___________________

| Lunar Poll | Dexxaboys Site |

v3x0rg

v3x0rg

Pawn Coder
Status: Offline!

It won't work if it's got files in the directory.

___________________

- Moderator at the official AMX Mod X forums

Dexxaboy

Dexxaboy

Neverside Newbie
Status: Offline!

The dir is empty

___________________

| Lunar Poll | Dexxaboys Site |

evan

evan

Neverside Newbie
Status: Offline!

Are you sure? Are there any hidden files? Are the permissions on the folder set to read-only?

Dexxaboy

Dexxaboy

Neverside Newbie
Status: Offline!
Quote:

Originally posted by akdov
Are permissions on the folder set to read-only?

How do i change it?
Like i said, i use Apache on my comp and WinXP.

___________________

| Lunar Poll | Dexxaboys Site |

evan

evan

Neverside Newbie
Status: Offline!

Right click on the folder and choose properties. There's a check box that's probably checked that says read-only next to it.

Dexxaboy

Dexxaboy

Neverside Newbie
Status: Offline!

*Its in Swedish

I cant uncheck that :confused: "write protection, in english i think"

Attachments:

rclick.jpg rclick.jpg (Download) 30.06 Kb, 112 views

___________________

| Lunar Poll | Dexxaboys Site |

evan

evan

Neverside Newbie
Status: Offline!

There 29 files and 8 folders in it, that's why rmdir() won't work.

Dexxaboy

Dexxaboy

Neverside Newbie
Status: Offline!

Opps, i select wrong dir. :-x

"Scripts is the main dir, and alxx is the subdir"

The dir is empty.

Like the other image, i cant uncheck writeprotect.

Attachments:

thisdir.jpg thisdir.jpg (Download) 26.11 Kb, 111 views

___________________

| Lunar Poll | Dexxaboys Site |

Nem

Nem

Status: Offline!

Do this.

PHP:

<?php

chmod
("dirname"0666);

?>

Run that before any of your script.

Page 1 out of 3
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0178 seconds.