Class: Ardecy::Harden::Perms::Directory::Home

Inherits:
Ardecy::Harden::Perms::DirCheck show all
Defined in:
lib/ardecy/harden/perms.rb

Instance Method Summary collapse

Methods inherited from Ardecy::Harden::Perms::DirCheck

#fix, #scan

Methods included from Display

#display_fix_list, #kernel_show, #perm_show, #result, #show_bad_mod, #title

Constructor Details

#initialize(args) ⇒ Home



53
54
55
56
# File 'lib/ardecy/harden/perms.rb', line 53

def initialize(args)
  super
  @exp = 0700
end

Instance Method Details

#xObject



58
59
60
61
62
63
64
# File 'lib/ardecy/harden/perms.rb', line 58

def x
  Dir.glob('/home/*').each { |d|
    @name = d
    scan
    fix
  }
end