From: Oliver Dzombic (info_at_isp4p.net)
Date: Fri 11 Jul 2003 - 20:11:50 BST
hi chris,
ls -l of / in real server:
d--------- 11 root root 4096 Jul 10 19:19 vservers
The filesystem is not mounted ro. mount in vserver context:
shell1:/# mount
/dev/hdv1 on / type vfs (none)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
and mount in real server:
/dev/hda1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
none on /vservers/eggdrop/proc type proc (rw)
none on /vservers/eggdrop/dev/pts type devpts (rw)
on the real server root and simple users can create files and directory`s
only the normal users in vserver context aren`t able.
Greetings
Oliver
-----Original Message-----
From: Christoph Kuhles [mailto:ck_at_aquatix.de]
Sent: Freitag, 11. Juli 2003 21:02
To: Oliver Dzombic
Subject: Re: [vserver] mkdir: cannot create directory `test': Permission
denied after vserver crash
Hi Oliver,
Friday, July 11, 2003, 8:23:42 PM, you wrote:
OD> mkdir: cannot create directory `test': Permission denied
OD> touch: creating `test': Permission denied
Is the file system mounted read/write (not read only eventually)? If
yes, could you give us an ls -al of the directory above?
OD> by the way with chmod 000 /vserver/* no server can start.
OD> it tells:
OD> cant chroot dir
OD> it have to be at least +x
You should chmod 000 /vservers/ ... not the directories within. At
least that's what I think.
Cheers
Chris