delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/26/18:11:35

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 26 Apr 2004 17:10:02 -0500 (EST)
From: Dick Repasky <rrepasky AT lack DOT ucs DOT indiana DOT edu>
To: cygwin AT cygwin DOT com
Subject: restoring facls after restore from tar
Message-ID: <Pine.LNX.4.58.0404261659170.18755@lack.ucs.indiana.edu>
MIME-Version: 1.0
X-IsSubscribed: yes

Hello,

I just restored an instance of cygwin from a tarball that had been created
with "tar -cf - /cygdrive/c/cygwin". Everything worked fine except sshd
(the only service that I run).  The problem turned out to be that file
access control lists needed to be set on cygrunsrv and sshd.  Indeed, none
of the facls in /bin and /usr/sbin were restored.  I set all files in /bin
and /sbin to have the following acl:

user::rwx
group::r-x
group:root:rwx
group:SYSTEM:rwx
mask:rwx
other:---

And, now, sshd starts fine.  

First question: am I missing anything that will bite me?

Second question: how can I backup facls as part of a tar backup and 
restore them?

Thanks,

Dick

-----------------

Dick Repasky
Bioinformatics Support
UITS Cubicle 101.08
Indiana University
USA


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019