Date: Mon, 12 Apr 2010 08:57:58 -0400 From: David Samms <dsamms@nw-ds.com> To: freebsd-jail@freebsd.org Cc: freebsd-bugs@freebsd.org Subject: Re: jail file and directory permissions Message-ID: <hpv5cn$onq$1@dough.gmane.org> In-Reply-To: <4BC2E662.1050007@fuujingroup.com> References: <4BC2C578.9080108@fuujingroup.com> <i2l8250ac3f1004120043ga734bbe0s952dda5712ea38a5@mail.gmail.com> <4BC2E662.1050007@fuujingroup.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 04/12/10 05:22, Erich Jenkins, Fuujin Group Ltd wrote: > Kalle Møller wrote: > <snip> >> Could you please make a command list on what your doing and with >> output.. like this ... >> >> -- >> >> Med Venlig Hilsen >> >> Kalle R. Møller > </snip> > > Here's what I'm seeing: > > jail0495> pwd > /usr/home/testuser > jail0495> ll > -rw------- 1 testuser rmtuser 1957 Apr 12 02:22 .history > drwxr--r-- 2 root wheel 1024 Apr 12 02:22 testdir > jail0495> users > testuser > jail0495> cd testdir > jail0495> ll > -rw-r--r-- 2 root wheel 4096 Apr 12 02:24 textfile.txt > jail0495> rm textfile.txt > override rw-r--r-- root/wheel for textfile.txt ? y > jail0495> ll > total 0 > jail0495> > > As you can see, this is of great concern. > > > Erich M. Jenkins > Fuujin Group Limited > I am running 7.2-RELEASE-p5 amd64 and can not duplicate your problem. Here is what I typed. As root... -------------------------------------------------------- nw-ds# cd ~nw nw-ds# mkdir test nw-ds# touch test/file nw-ds# ll | grep test drwxr-xr-x 2 root nw 512 Apr 12 08:56 test nw-ds# ll test/* -rw-r--r-- 1 root nw 0 Apr 12 08:56 test/file As normal user "nw" -------------------------------------------------------- %cd ~/test %ll total 0 -rw-r--r-- 1 root nw 0 Apr 12 08:56 file %rm file override rw-r--r-- root/nw for file? y rm: file: Permission denied %ll total 0 -rw-r--r-- 1 root nw 0 Apr 12 08:56 file
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?hpv5cn$onq$1>