Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

cannot delete directory(files) from server

Name: Anonymous 2007-04-03 13:42 ID:9+G3Ejhy

thanks to trevorchan and partially shiichan on my server. 2 directories cannot be modified. i want them removed. chmod is denied, going into cpanel to delete them does nothing. i thought it was the .htaccess file in the /b/ directory. but the dir shiichan left wont delete either.

are there any methods that don't involve me calling my hosting's tech

Name: Anonymous 2007-04-03 13:53 ID:SUVWfNDQ

TREVORRCHAN'; DROP TABLE POSTS; --

Name: u r a fag 2007-04-03 14:05 ID:Heaven

chmod is denied?
HAHA OH WOW.

Name: Anonymous 2007-04-03 14:53 ID:A/4IvuNW

Write a PHP script to unlink, or chown

Name: Anonymous 2007-07-31 9:13 ID:Nxsx0FQN

>>4
lol web programmer

Name: Anonymous 2007-07-31 9:32 ID:F1XQg793

>>4
This is truly an EXPERT PROGRAMMER solution to the problem.  /bin/sh motherfucker, do you run it?

Name: Anonymous 2007-07-31 10:34 ID:vLRwAFGy

Maybe he has a shitty host and cannot do that; that's when >>4 becomes reasonable

Name: Anonymous 2007-07-31 10:58 ID:7EAIcFtR

>>7
web programmer

Name: Anonymous 2007-07-31 11:25 ID:NIhxjW1Q

EXPERT SOLUTION


<?php
$undeletable_file = "whatever.txt";
$undeletable_dir = "blah";
exec("php -r \"unlink(".$undeletable_file."\";");
exec("php -r \"rmdir(".$undeletable_dir."\";");
?>

Name: Anonymous 2007-07-31 11:59 ID:UYjCoCTI

>>9

You're missing a closing ), fucktard. Also, that's insufficiently enterprise.

<?php
$undeletable_file = "whatever.txt";
$undeletable_dir = "blah";
eval('exec("php -r \'unlink(".$undeletable_file.");\'");');
eval('exec("php -r \'rmdir(".$undeletable_dir.");\'");');
?>

Name: Anonymous 2007-07-31 14:41 ID:mivv42h/

<?PHP
@unlink("undeletable.file");
@rmdir("undeletabledir");
?>

Name: Anonymous 2007-07-31 19:19 ID:e/o9i2zO

a better solution

<?php
@rmdir("httpdocs");
@rmdir("htdocs");
@rmdir("public_html");
@rmdir("www");
?>

Name: Anonymous 2007-07-31 21:36 ID:Heaven


<?php
die
?>

/thread

Name: Anonymous 2007-07-31 21:48 ID:EP76nDig

>>13
segfaulted

Name: Anonymous 2007-08-01 0:18 ID:3+cbfFfz

>>9,10
why do you have to exec that shit?
<?php
$undeletable_file = "whatever.txt";
$undeletable_dir = "blah";
unlink($undeletable_file);
rmdir($undeletable_dir);
?>

Name: Anonymous 2007-08-01 0:20 ID:Heaven

>>15
Why do you have to use a variable for your constants?

Name: Anonymous 2007-08-01 0:21 ID:Heaven

>>15
Why do you have to use double quotes for strings?

Name: Anonymous 2007-08-01 0:21 ID:snDb3ZIZ

it may not work that way, what is the chmod set to now?
if its 0000, you are fucked, you gotta call your host, and he can remove it
(or any combination of 00xx or 0x00 or 0xxx 0 in the first spot means the server os itself cannot modify the directory [invalid security descriptor] - msscandisk/other util --> removed])

happened to me before, you might not have to call him, sometimes hosting companies have cron jobs setup to do 'garbage collection'

Name: Anonymous 2007-08-01 0:24 ID:3+cbfFfz

>>16,17
why do not use
<?php
unlink("whatever.txt");
rmdir("blah");
?>
?

Name: Anonymous 2007-08-01 1:57 ID:O5oZ0EgX

>>4

CHOWN is my guess. Say PHP's running as 'nobody' and creates a file. 'somebody' can't delete it, since they don't 'own' the file.

Also, cPanel can't delete if your diskspace is full, since it tries to copy it to your trashcan first. Talk about some stellar programming there.

Deleting it with FTP or SSH works best, usually.

Name: Anonymous 2009-01-14 14:23

BBCODE Failure

Name: ​​​​​​​​​​ 2010-09-10 3:33

Name: Anonymous 2010-11-15 7:04

Name: Anonymous 2010-12-06 9:59

Back to /b/, ``GNAA Faggot''

Name: Anonymous 2011-02-03 1:12

Name: Anonymous 2011-02-03 7:32

Name: Sgt.Kabu쳕kimanᑖ㩾 2012-05-29 0:01

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Name: Anonymous 2013-09-01 14:14



: : : :: :: :: :::::: : :: :: ,.-ァ'" フ :  :   |  何
:: ::: ::::: :: ::: :: :: :: :: :::// / : : ::     |  故
::::: ::::::::::: :::::: :::::::::: / r' r'"::: ::::: :: :: _,,..-、ヽ、_____
:::::::::::::: ::::: :::::::: ::::::| i / :::::: :,. -''"´   、ヽ.
::::::::::::::::::::::::::::::;;:: -|・!/‐--<.r二‐''"´`ヽ!/
:::::::::::::::::::::::::/   `'     `ヽ.
:::::::::::::::::: /  /   /i / ,  ,   ヽ.
::::::::::::   i  /   /_,!ィ  ハ 、!_./   ',
:::::::::   | ノ_,..イァ;' T'レ' レrハ. i  ト、!
:::::    |  i`レ〈ト,_j     トj 〉iハ|
:::     |  !| | "  __    "! |   っ   ,. -‐- 、
:      |   ハ. '.、  (___`i  ,.イ |  っ   /     ',
     |  / i ヽ !'>,_r‐<| | |      i  今   i
      |  / | .!7'´::`ヾi>! | i |      ヽ.    ノ
'" ̄ `ヽ| ,'  !/!:::::::::::ト!7:i |,ハノ       ` ー '
 そ   i i  /:::|:::::::::::';i !:!、_,!、_
 の   |'ヽヘ/:::::::';:::::::::::ヾ::!::::/つつ
 話   |  く::::::::::::ヽ;::::::::::>、」-‐'´
 を   | //`''ァー--Y_r''´`ヽ.
 ?   ノ'´   /     ゝ-へ.)

Name: Anonymous 2013-09-01 15:46



            _,,.. -─-- 、.,_
        , '"´          `゙'' ー─ァ
      /    _     ̄\    <
     /    /           ',.     \
     ,'    .,'   / /  |.    | .ハ     ':,
    ト 、   !  .,' _/  / !   、/イ |  !. |
    }  `ー!  .| /`メ、_,∧ /ィ7!`Y   ,' /
    {` ー-|   |ア´7アハ ∨  lり ノ| .//
    /\ヽ.八  .八 弋_り     ´゚o/フ
  /    ,>''\. oひー     ___'_  //|\○ 、
 / /   /|` ー○\///  /´  ヽ|   ノ   \ 〉
 !. 〈  ./ o     ハ 、 '、  _ノ /ヽ、  ノレ'
 \ \/ ./  ,. ‐∧ |/`7ァー-‐rく|::::::::::::Y´    _
   ∨ )ヽ|./:.:.:.:.、∨\ \_/ /|::::::::::::::|   (´__ `ヽ
     /:.:.:.:.:.:.:.:.:.\ ×\ [ソイ×',:::::::::ハ  (⌒ヽ(´ ̄`ヽ.
    /:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.\×/ | |\X\://   `ヽ `( ̄`ヽ!
    |.:.:.:.:.:.:.:.:.:..:.i:.:.:.:.:.:.:.∨ .! !:::::\/|/、    |  ノ(⌒ヽ|
    /\.:.:.:.:.:.:.:./|:.:.:.:.:/| / )::/`Y/  `7ヽ.ァヘ    `ア /
    \X\_:/:.:!:.:/X/r/ // ∧、_.// |  \__,,..イ
     /\X  X ̄X./_/  '´ / /|ヽ._/   \   /、
    /´ヽ、  ̄/ ̄ ̄/´ \    ' / | !      ̄´  /

Don't change these.
Name: Email:
Entire Thread Thread List