Getting "Permission Denied" issues after migrating jails

Miroslav Lachman 000.fbsd at quip.cz
Sun Dec 11 15:22:50 UTC 2016


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


More information about the freebsd-jail mailing list