[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-jail
Subject:    Re: Getting "Permission Denied" issues after migrating jails
From:       Miroslav Lachman <000.fbsd () quip ! cz>
Date:       2016-12-11 15:22:47
Message-ID: 584D6F47.8010106 () quip ! cz
[Download RAW message or body]

rKaya Saman wrote on 2016/12/11 16:05:
> Thanks a lot Miroslav :-)
>
> I found the issue eventually.....
>
> For some reason it turns out the /var directory got set to 700
> permissions after the rsync.....
>
> a simple chmod 755 /var fixed the issue, however, it looks like all 5 of
> my jails had the same problem?

rsync -avvcrt : you don't need to specify "r" and "t", they are included 
in "a" but you missed "H" for hardlinks (they are used for base and 
packages too)

-a, --archive   archive mode; equals -rlptgoD (no -H,-A,-X)

I don't know why your /var had 0700, maybe you have too restrictive 
umask for user under you were running rsync.

Miroslav Lachman
_______________________________________________
freebsd-jail@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic