[email protected]$ whoami
max
[email protected]$ ls -la ./defines.php
-rwxrwxrwx 1 max max 1985 2011-11-16 02:01 ./defines.php
[email protected]$ chmod 0777 ./defines.php
[email protected]$ rm ./defines.php
rm: cannot remove `./defines.php': Permission denied
[email protected]$
このファイルを削除するにはどうすればよいですか?rm:削除できません:許可が拒否されました
ファイルはコマンドを実行しているのと同じディレクトリにありますか?それは 'rm defines.php'だけでなければなりません。どうしてあなたは '。/'をpreppendingしていますか? –
その他: 'chmod 777' –
違いはありません。 'file'と'。/ file'は同等です。 – Femaref