source: home-linker/trunk/fuentes/home-linker.install/usr/share/n4d-client-exe-manager/enabled/homeFixer.sh @ 2697

Last change on this file since 2697 was 2697, checked in by daduve, 3 years ago

copying files

  • Property svn:executable set to *
File size: 371 bytes
Line 
1#!/bin/bash
2
3
4logger -t "SpaceFixer" "Fixing permissions on /home/" || true
5
6if [ -d /home/ ] ; then
7
8        logger -t "SpaceFixer" "Fixing ACLs on /home/" || true
9        setfacl -b /home/ || true
10       
11        logger -t "SpaceFixer" "Fixing permissions on /home/" || true
12        chmod 755 /home/ || true
13       
14        logger -t "SpaceFixer" "Fixing Owner on /home/" || true
15        chown root:root /home/ || true
16fi
17
Note: See TracBrowser for help on using the repository browser.