日期:2014-05-16 浏览次数:20812 次
hadoop3@linux-240:~> touch del.txt
hadoop3@linux-240:~> chmod u= del.txt
hadoop3@linux-240:~> ll del.txt
----r--r-- 1 hadoop3 hadoop 0 2013-10-30 09:18 del.txt
hadoop3@linux-240:~> cat del.txt
cat: del.txt: Permission denied
hadoop3@linux-240:~> echo "abc" > del.txt
-bash: del.txt: Permission denied
hadoop3@linux-240:~> rm del.txt
rm: remove write-protected regular empty file `del.txt'? y
hadoop3@linux-240:~> ll del.txt
ls: cannot access del.txt: No such file or directory
hadoop3@linux-240:~>