I am quite new to linux. Recently, I've just downloaded a software, but get
a painful problem. I install all correct path configurations as stated in
the software manual, but get the following result,
# ls -l
total 2640
lrwxrwxrwx 1 vadmin vadmin 10 2010-04-19 10:24 alvis -> alvis-mesa
-rwxr-xr-x 1 vadmin vadmin 2258976 1996-11-04 19:47 alvis-mesa
-rwxr-xr-x 1 vadmin vadmin 117824 1996-11-04 19:47 delcx
-rwxr-xr-x 1 vadmin vadmin 153204 1996-11-04 19:47 mkalf
-rwxr-xr-x 1 vadmin vadmin
Solaris 上的
偶不是root,没有admin权。
大家明眼就看出是某种论坛的上传文件
无色情,无反动,无盗版。
现在里面东西占地方太多,怎么删?
偶不想去找root干这事,毕竟偶自己偷着装论坛的。
BTW,这个论坛程序太WK了,生成一堆垃圾,还不让删。DD
drwxr-xr-x 2 nobody bin 11776 May 22 03:25 ./
drwx---r-x 34 "me" "my group" 4608 Mar 17 17:47 ../
-rwxr-xr-x 1 nobody bin 927037 Oct 15 2001 forum10_f_4.zip*
-rwxr-xr-x 1 nobody bin 273065 Dec 21 05:08 forum12_f_10.jpg*
-rwxr-xr-x 1 nobody bin 190839 Dec 21 05:13 forum12_f_11.jpg*
-rwxr-xr-x 1 nobody bin
以前问过怎么让samba自动设置从windows share来的文件的属性的问题
最近有空google了一下,samba自带的mask就可以
samba缺省得属性设置好像是rwxr-xr-x
如果要让建立的文件是rw-------就用下面的例子
另外还可以force user, force group
[data]
path = /home/samba/data
browseable = yes
guest ok = yes
writeable = yes
create mask = 600
directory mask = 700
force user = joe
force group = accounting
在家setup一个test server。设置全是从我的production上抄下来的。不知怎么就总是
出这个403 error。server ip is 192.168.2.5. On my desktop I change my host
file to pointing www.clingmarks.com to 192.168.2.5.
下面是设置。那位给看看吧。
ls -l /var/www/
total 12
drwxr-xr-x 2 root root 4096 2011-08-04 11:26 clingmarks.com
-rwxr-xr-x 1 root root 177 2011-07-25 16:10 index.html
==============================
cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 americano
192.168.2.5 americano.clingmarks.com www.clingmarks.com
# The following line... 阅读全帖
My computer was tampered. I found the size of /bin/login is
very large.
ls -l /bin/login
-rwxr--r-- 1 root root 279484 ...
I want to overwrite it, even if I do so under "single user
mode", still fail.
Who can tell me how to remove or replace it?
Just wonder if anyone can give some help in writing the following Korn Shell:
Unix script to check that all users in the /etc/passwd file
have a home directory and that the directory is owned by the correct
user and group. Also check that the directory has
permissions rwxr-sr-x. Generate a report of any abnormalities