jailkit-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-dev] Strange files permissions


From: Olivier Sessink
Subject: Re: [Jailkit-dev] Strange files permissions
Date: Sun, 1 Jan 2017 13:15:43 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

On 01-01-17 03:07, ihorsl wrote:
> After running
>
> jk_init     -v -j /jail/$USERNAME basicshell
> jk_jailuser     -m -j /jail/$USERNAME -s /bin/bash $USERNAME
>
> I have noticed strange file permissions !
>
> 1. Files in bin and lib a readable for others

I don't understand why this is strange? These are the standard
permissions? (0755 or -rwxr-xr-x root root)

>
> 2. /usr/sbin/jk_chrootsh requires read access for "others"
> to files
>
> etc/passwd
> etc/group
> etc/profile

normally jk_init should have copied the permissions from the host
system, so it didn't do this correctly?

Olivier

-- 
Bluefish website http://bluefish.openoffice.nl/
Blog http://oli4444.wordpress.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]