On Wed, Aug 7, 2013 at 10:24 PM, YuGiOhJCJ Mailing-List <
yugiohjcj-mailingl...@laposte.net> wrote:

> On Wed, 7 Aug 2013 10:16:14 -0600
> LinuxManMikeC <linuxmanmi...@gmail.com> wrote:
>
> > On Wed, Aug 7, 2013 at 9:11 AM, YuGiOhJCJ Mailing-List <
> > yugiohjcj-mailingl...@laposte.net> wrote:
> >
> > > On Wed, 7 Aug 2013 07:28:08 -0400
> > > Robert Isaac <rjis...@gmail.com> wrote:
> > >
> > > > >
> > > > >
> > > > > Why it doesn't work ?
> > > >
> > > >
> > > > Because your ioq3 user, if it exists, doesn't have a home directory
> that
> > > it
> > > > can write to.
> > >
> > > It is not the case.
> > > Indeed, this directory exists:
> > > # ls -a /home/ioq3/
> > > ./  ../
> > >
> > > And it is the home directory of this user:
> > > # grep ioq3 /etc/passwd
> > > ioq3:x:1006:100::/home/ioq3:/bin/false
> > >
> > >
> > What are the permissions on /home/ioq3?
> >
> > What is the output of:
> > # sudo -H -u ioq3 env
>
> $ ls -ld /home/ioq3
> drwxr-xr-x 2 ioq3 users 4096 Aug  7 17:05 /home/ioq3/
>
> # sudo -H -u ioq3 env
> HOSTNAME=serveur.geekdomain
> TERM=linux
>
> LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.bat=01;32:*.BAT=01;32:*.btm=01;32:*.BTM=01;32:*.cmd=01;32:*.CMD=01;32:*.com=01;32:*.COM=01;32:*.dll=01;32:*.DLL=01;32:*.exe=01;32:*.EXE=01;32:*.7z=01;31:*.ace=01;31:*.ACE=01;31:*.arj=01;31:*.bz2=01;31:*.cpio=01;31:*.deb=01;31:*.dz=01;31:*.gz=01;31:*.jar=01;31:*.lzh=01;31:*.lzma=01;31:*.rar=01;31:*.RAR=01;31:*.rpm=01;31:*.rz=01;31:*.tar=01;31:*.taz=01;31:*.tb2=01;31:*.tbz2=01;31:*.tbz=01;31:*.tgz=01;31:*.tlz=01;31:*.trz=01;31:*.txz=01;31:*.tz=01;31:*.tz2=01;31:*.xz=01;31:*.z=01;31:*.Z=01;31:*.zip=01;31:*.ZIP=01;31:*.zoo=01;31:*.aac=01;35:*.AAC=01;35:*.anx=01;35:*.asf=01;35:*.ASF=01;35:*.au=01;35:*.axa=01;35:*.axv=01;35:*.avi=01;35:*.AVI=01;35:*.bmp=01;35:*.BMP=01;35:*.divx=01;35:*.DIVX=01;35:*.flac=01;35:*.FLAC=01;35:*.gif=01;35:*.GIF=01;35:*.jpg=01;35:*.JPG=01;35:*.jpeg=01;35:*.JPEG=01;35:*.m2a=01;35:*.M2A=01;3
>
>  
> 5:*.m2v=01;35:*.M2V=01;35:*.m4a=01;35:*.M4A=01;35:*.m4p=01;35:*.M4P=01;35:*.m4v=01;35:*.M4V=01;35:*.mid=01;35:*.midi=01;35:*.mka=01;35:*.mkv=01;35:*.MKV=01;35:*.mov=01;35:*.MOV=01;35:*.mp3=01;35:*.MP3=01;35:*.mp4=01;35:*.MP4=01;35:*.mp4v=01;35:*.mpc=01;35:*.MPC=01;35:*.mpeg=01;35:*.MPEG=01;35:*.mpg=01;35:*.MPG=01;35:*.nuv=01;35:*.oga=01;35:*.ogv=01;35:*.ogx=01;35:*.ogg=01;35:*.OGG=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.PNG=01;35:*.ppm=01;35:*.qt=01;35:*.ra=01;35:*.RA=01;35:*.ram=01;35:*.RAM=01;35:*.rm=01;35:*.RM=01;35:*.spx=01;35:*.svg=01;35:*.svgz=01;35:*.tga=01;35:*.TGA=01;35:*.tif=01;35:*.TIF=01;35:*.tiff=01;35:*.TIFF=01;35:*.vob=01;35:*.VOB=01;35:*.wav=01;35:*.WAV=01;35:*.wma=01;35:*.WMA=01;35:*.wmv=01;35:*.WMV=01;35:*.xbm=01;35:*.xcf=01;35:*.xpm=01;35:*.xspf=01;35:*.xwd=01;35:*.XWD=01;35:*.xvid=01;35:
>
> PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/qt/bin:/usr/share/texmf/bin
> LC_COLLATE=C
> LANG=en_US
> PS1=\u@\h:\w\$
> PS2=>
> HOME=/root
> SHELL=/bin/bash
> LOGNAME=ioq3
> USER=ioq3
> USERNAME=ioq3
> MAIL=/var/mail/ioq3
> SUDO_COMMAND=/usr/bin/env
> SUDO_USER=root
> SUDO_UID=0
> SUDO_GID=0
>
> As you can see the HOME variable value is /root.
> That's probably the problem...
>
> Do you have any idea on how to correct this ?
>
>
Well the -H switch should do it. At least we've determined without a doubt
its a sudo problem. What does your sudo config look like? Probably
configured to prevent the -H switch from working. I'm no sudo expert, so I
can't tell you off the top of my head what the config option would be.
Google is your friend. Works fine for me with my default sudo config on an
Ubuntu system, what distro are you running?
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.

Reply via email to