Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Mar 2005 16:57:49 -0500
From:      Danie Du Toit <danie.dutoit@gmail.com>
To:        Gary Stanny <stanny@tdfltd.com>
Cc:        questions@freebsd.org
Subject:   Re: can't delete file even after "chmod 777" & "rm -f"
Message-ID:  <8af825890503121357421624c3@mail.gmail.com>
In-Reply-To: <6.1.2.0.2.20050312163705.03c40278@10.10.10.1>
References:  <6.1.2.0.2.20050312163705.03c40278@10.10.10.1>

next in thread | previous in thread | raw e-mail | index | archive | help
The attributes for the /home/robot and /home/mlbot by default set to
755. To have a users in the same group delete files from these
directories, you need to set the directory attributes to 775.


On Sat, 12 Mar 2005 16:47:03 -0500, Gary Stanny <stanny@tdfltd.com> wrote:
> 
> 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
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>



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