On Thursday 27 Mar 2014 16:45:35 message wrote: > On 2014-03-25 15:59, arch-general-requ...@archlinux.org wrote: > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Mon, 24 Mar 2014 22:49:06 +0100 > > From: Jakub Klinkovsk? <j....@gmx.com> > > Subject: Re: [arch-general] graphical display management > > > >> Interestingly, 'su a' results in the cursor 'pwd' to be the root home > >> directory and not '/home/a'. > > > > This is the expected behaviour. Just run the command 'cd', without > > arguments it > > will get you into the home directory, which should be '/home/a'. Or run > > 'su -l a'. > > I would have expected the home directory for 'root' _not_ to be > accessible to other users.
By "root home directory", do you mean "/" or "/root"? You are correct that "/root" should only be accessible by root. If the "pwd" command returns "/root" and "whoami" command does not return "root", then there's something wrong with your directory permissions. Paul