Professional Web Applications Themes

can't delete file even after "chmod 777" & "rm -f" - FreeBSD

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 ...

  1. #1

    Default can't delete file even after "chmod 777" & "rm -f"


    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
    com Financial Software 734-449-8306 (voice/fax)
    7725 Shady Beach Dr Whitmore Lake, MI, 48189 USA

    Gary Guest

  2. #2

    Default Re: can't delete file even after "chmod 777" & "rm -f"

    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 <com> wrote: 
    Danie Guest

  3. #3

    Default RE: can't delete file even after "chmod 777" & "rm -f"


    Hi again list and thanks for the instant answer. The winner was John Pettitt.
    He correctly pointed me to the sticky bit set on the /tmp & /ramdisk
    directories.

    Danie Du Toit did provide correct information except that the problem files
    weren't
    in the users home directories.

    Thanks a bunch guys :-)


    cheers

    gary

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

Similar Threads

  1. CFINPUT type="radio" w/ "value" requires "label"
    By Iceborer in forum Macromedia ColdFusion
    Replies: 2
    Last Post: February 21st, 06:16 PM
  2. "Start" "Program" "Menu" list is empty
    By Pete in forum Windows XP/2000/ME
    Replies: 2
    Last Post: July 10th, 10:42 PM
  3. How to make the "search text" feature work with non "txt" file
    By Sharon F in forum Windows XP/2000/ME
    Replies: 0
    Last Post: June 30th, 07:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139