Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 16:47:03 -0500
From:      Gary Stanny <stanny@TDFltd.com>
To:        questions@freebsd.org
Subject:   can't delete file even after "chmod 777" & "rm -f"
Message-ID:  <6.1.2.0.2.20050312163705.03c40278@10.10.10.1>

next in thread | raw e-mail | index | archive | help

Howdy -

I'm having a weird problem. My users can't delete each other's files.
Even if I "chmod 777" the target file and use a "rm -f" cmd. Of course root
can delete the files. Both users are in wheel.

stanny >ls -l  bf_com_exit_rpt.txt
-rwxrwxrwx  1 robot  wheel  5241 Mar 11 16:30 bf_com_exit_rpt.txt

stanny >rm  bf_com_exit_rpt.txt
rm: bf_com_exit_rpt.txt: Operation not permitted

stanny >rm -f  bf_com_exit_rpt.txt
rm: bf_com_exit_rpt.txt: Operation not permitted

cat /etc/passwd ->
stanny:*:1000:0:Gary Stanny:/home/stanny:/usr/local/bin/zsh
robot:*:9999:0:Mr. Robot:/home/robot:/usr/local/bin/zsh
mlbot:*:9998:0:Mail Bot:/home/mlbot:/usr/local/bin/zsh

stanny >cat /etc/group
# $FreeBSD: src/etc/group,v 1.19.2.1 2001/11/24 17:22:24 gshapiro Exp $
#
wheel:*:0:root,stanny,robot,mlbot

Please also CC me direct as I get the list via digest.

Thanks a bunch.


cheers

gary

Gary Stanny          Tierra del Fuego Ltd.    www.TDFltd.com
stanny@TDFltd.com    Financial Software       734-449-8306 (voice/fax)
7725 Shady Beach Dr  Whitmore Lake, MI, 48189 USA 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.2.0.2.20050312163705.03c40278>