LITTLEBLACKDOG.COM Forum Index LITTLEBLACKDOG.COM

 
LWD LWD   FAQ FAQ   Memberlist Memberlist   Usergroups Usergroups   Active Topics Active Topics   Register Register  
  Profile Profile   Log in to check your private messages Log in to check your private messages   Log in Log in  
  Who is Online Who is Online   Image Gallery Image Gallery   Chat Chat   Search Search  
  LWDGear       LBDGear  

View next topic
View previous topic
Post new topic     Reply to topic   LITTLEBLACKDOG.COM Forum Index -> Operating Systems » OS - Unix
Author Message
soup4you2
Tail-Wagger
Tail-Wagger


Joined: 15 Mar 2002
Posts: 2452
Location: Desolate wastelands of Virginia

Post Posted: Wed Oct 15, 2003 6:31 am   Post subject: UFS2 ACL's Reply with quote Back to top  

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:

Code: Select all

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
View user's profile Send private message Send e-mail
EdisonRex
Guide Dog
Guide Dog


Joined: 06 May 2002
Posts: 9979
Location: Not Moscow

Post Posted: Wed Oct 15, 2003 6:58 am   Post subject: Reply with quote Back to top  

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.
View user's profile Send private message AIM Address Yahoo Messenger
soup4you2
Tail-Wagger
Tail-Wagger


Joined: 15 Mar 2002
Posts: 2452
Location: Desolate wastelands of Virginia

Post Posted: Wed Oct 15, 2003 7:26 am   Post subject: Reply with quote Back to top  

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

Code: Select all

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
View user's profile Send private message Send e-mail
EdisonRex
Guide Dog
Guide Dog


Joined: 06 May 2002
Posts: 9979
Location: Not Moscow

Post Posted: Wed Oct 15, 2003 8:28 am   Post subject: Reply with quote Back to top  

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.
View user's profile Send private message AIM Address Yahoo Messenger
soup4you2
Tail-Wagger
Tail-Wagger


Joined: 15 Mar 2002
Posts: 2452
Location: Desolate wastelands of Virginia

Post Posted: Wed Oct 15, 2003 9:28 am   Post subject: Reply with quote Back to top  

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
View user's profile Send private message Send e-mail
DaveyJ
Stray Dog


Joined: 14 Oct 2003
Posts: 32
Location: Wisconsin

Post Posted: Thu Oct 16, 2003 4:26 am   Post subject: Reply with quote Back to top  

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

Smile

_________________
Blah, blah, blah... Enough said!!!
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number
Display posts from previous:   
Post new topic     Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
phpBB SEO
All times are GMT - 8 Hours

Help us keep advertisements off this site. Donate today!