| Author |
Message |
soup4you2
Tail-Wagger


Joined: 15 Mar 2002 Posts: 2453
Location: Desolate wastelands of Virginia
|
Posted:
Wed Oct 15, 2003 6:31 am Post subject: UFS2 ACL's |
|
Ok think i'll start this category off..
Ok i've been experimenting w/ placing ACL's on my UFS2 filesystem.. pretty cool concept having ACL's for permissions along w/ flags and normal file permissions..
now on directories in which i've set acl's when i run a ls -al i get this:
ls: ./..: Operation not supported
and it does the same for each dir w/ acl's
is this normal? and is there a way to supress this output?
geta kinda annoying if i run a ls -al and i see this:
ls: ./.: Operation not supported
drwxr-x--- 10 root wheel - 512B Oct 11 17:59 .
drwxr-xr-x 23 root wheel - 512B Oct 8 22:25 ..
ls: ./Docs: Operation not supported
drwxr-x---+ 2 soup4you2 pub - 20K Oct 6 11:16 Docs
ls: ./movies: Operation not supported
drwxr-x---+ 12 soup4you2 pub - 512B Aug 7 17:39 movies
ls: ./uploads: Operation not supported
drwxrwx---+ 10 soup4you2 pub - 1.0K Oct 13 17:48 uploads
ls: ./..: Operation not supported
drwxr-x--- 10 root wheel 512 Oct 11 17:59 ..
drwxrwx---+ 2 root staff 512 Oct 15 08:48 Binaries
|
_________________ tomorrow will be canceled due to lack of interest
|
|
|
|
|
EdisonRex
Lead Dog


Joined: 06 May 2002 Posts: 10118
Location: Not Moscow
|
Posted:
Wed Oct 15, 2003 6:58 am Post subject: |
|
ls doesn't support acls yet. You use getfacl to see them.
Apparently a lot of traditional utils don't handle acls correctly yet. |
_________________ Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
|
|
|
|
|
soup4you2
Tail-Wagger


Joined: 15 Mar 2002 Posts: 2453
Location: Desolate wastelands of Virginia
|
Posted:
Wed Oct 15, 2003 7:26 am Post subject: |
|
mount shows acl's on the slices.
getfacl shows properly for the dirs w/ acl's
the directory output shows a + by permissions meaning acl's are set
tunefs -p shows
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
I did end up resolving this.. 2 other slices w/ acl's were not doing this.. so i unmounted the filesystem and ran tunefs -a enable /dev/ad2s1d again.. and it seems to be working properly again.. |
_________________ tomorrow will be canceled due to lack of interest
|
|
|
|
|
EdisonRex
Lead Dog


Joined: 06 May 2002 Posts: 10118
Location: Not Moscow
|
Posted:
Wed Oct 15, 2003 8:28 am Post subject: |
|
let me know if tar works and you can restore acls. |
_________________ Garret: It's so retro.
EGM: What does retro mean to you?
Parker: Like, old and outdated.
|
|
|
|
|
soup4you2
Tail-Wagger


Joined: 15 Mar 2002 Posts: 2453
Location: Desolate wastelands of Virginia
|
Posted:
Wed Oct 15, 2003 9:28 am Post subject: |
|
EdisonRex wrote:let me know if tar works and you can restore acls.
i'll test it w/ tar.. thats a good point.. i'm sure dump/restore would though.. |
_________________ tomorrow will be canceled due to lack of interest
|
|
|
|
|
DaveyJ
Stray Dog
Joined: 14 Oct 2003 Posts: 32
Location: Wisconsin
|
Posted:
Thu Oct 16, 2003 4:26 am Post subject: |
|
Sorry for the troll... But, DaveyJ needs to get iss arse in gear and get up to 5.1 so I can have a go with ACL's...
|
_________________ Blah, blah, blah... Enough said!!!
|
|
|
|
|
|
|