UFS2 ACL problems on root (boot) partition

From: Matthew Bertrand (meb_at_bardenent.com)
Date: 02/01/04

  • Next message: Chris Pressey: "Re: OT: sed problem"
    To: <freebsd-questions@freebsd.org>
    Date: Sat, 31 Jan 2004 23:48:42 -0500
    
    

    Trying to get ACLs to work on UFS2, and I'm having some trouble getting it
    to work on my root partition.

    Here's the symptom:

    # setfacl -m user:nobody:rwx /testacl
    setfacl: acl_get_file() failed: Operation not supported
    # setfacl -m user:nobody:rwx /usr/testacl
    #

    Here's some relevant information about the disks:

    # dumpfs / | head -n 1
    magic 19540119 (UFS2) time Sun Feb 1 07:43:56 2004
    # dumpfs /usr | head -n 1
    magic 19540119 (UFS2) time Sun Feb 1 07:44:24 2004
    # tunefs -p /
    tunefs: ACLs: (-a) enabled
    tunefs: MAC multilabel: (-l) disabled
    tunefs: soft updates: (-n) disabled
    tunefs: maximum blocks per file in a cylinder group: (-e) 2048
    tunefs: average file size: (-f) 16384
    tunefs: average number of files in a directory: (-s) 64
    tunefs: minimum percentage of free space: (-m) 8%
    tunefs: optimization preference: (-o) time
    tunefs: volume label: (-L)
    # tunefs -p /usr
    tunefs: ACLs: (-a) enabled
    tunefs: MAC multilabel: (-l) disabled
    tunefs: soft updates: (-n) enabled
    tunefs: maximum blocks per file in a cylinder group: (-e) 2048
    tunefs: average file size: (-f) 16384
    tunefs: average number of files in a directory: (-s) 64
    tunefs: minimum percentage of free space: (-m) 8%
    tunefs: optimization preference: (-o) time
    tunefs: volume label: (-L)
    #

    I have rebooted after enabling -a, and all commands are being run as root on
    files owned by root. Of course USER_ACL is enabled in

    Anyone have any ideas?

    Thanks,

    -Matthew Bertrand

    _______________________________________________
    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"


  • Next message: Chris Pressey: "Re: OT: sed problem"

    Relevant Pages

    • Re: bios disk numbers and device names
      ... boot a root device on say /dev/ufs/root? ... tunefs -L root /dev/da0a ... >> the label that could be used for a device name that, if set, could ... > devices in fstab as well. ...
      (freebsd-stable)
    • Re: bios disk numbers and device names
      ... Is there some spare space in ... > the label that could be used for a device name that, if set, could ... tunefs -L log /dev/ad1s1a ... mount /dev/ufs/www /mnt/www ...
      (freebsd-stable)