Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2021 08:31:58 -0500
From:      Antonio Olivares <olivares14031@gmail.com>
To:        "parv/freebsd" <parv.0zero9+freebsd@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: X does not work as regular user, but it does at root
Message-ID:  <CAJ5UdcO65mSWOOfs8%2BARSqYwNkU88s_AmCkGq_3oqpwihsGMZw@mail.gmail.com>
In-Reply-To: <CAJ5UdcPBVTqo6RxvSe%2BSbWRdwOFgwsWK8Vaw%2Bsrd-jTczNRM2w@mail.gmail.com>
References:  <CAJ5UdcOo4NdgYmJx%2B871YKr-ZoyYK6-RWqttTYybNu=puwpjrg@mail.gmail.com> <f0ba307a-84a4-8ec7-1722-ca81bcc78d5e@dreamchaser.org> <CAJ5UdcMN1bmQg8Gs7J%2Bhb633gTwrkPp_bUYU5ZveQPSbNJo5dg@mail.gmail.com> <CABObuOonnS-yixt97FP%2BY6k8rRM-_mo2CvN6CJ4GWwaGqsf7yA@mail.gmail.com> <CABObuOoZcJjwwNgeKg5hHUoSrY2LOMxEhm8t8X5Dj=h4tJjscg@mail.gmail.com> <CABObuOonUw0nJs-to%2Bu0vSuf3CPt-bhD1k_vFrCEdAhib1VB0Q@mail.gmail.com> <CAJ5UdcPBVTqo6RxvSe%2BSbWRdwOFgwsWK8Vaw%2Bsrd-jTczNRM2w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 19, 2021 at 10:02 AM Antonio Olivares
<olivares14031@gmail.com> wrote:
>
> On Sat, Apr 17, 2021 at 2:51 PM parv/freebsd
> <parv.0zero9+freebsd@gmail.com> wrote:
> >
> > On Fri, Apr 16, 2021 at 8:06 PM parv/freebsd wrote:
> >>
> >> On Fri, Apr 16, 2021 at 4:09 PM parv/freebsd wrote:
> >
> > ...
> >>>
> >>> you [may] need
> >>> to set those permissions on /tmp directory itself. Then anyone can create the
> >>> files in /tmp & not overwrite each others'
> >
> > ...
> >>>
> >>> as root ...
> >>>
> >>>   % chmod 1777 /tmp
> >
> >
> > All the other directories are created & permissions set after booting
> > FreeBSD by the system. If that is not the case for you, then you may be
> > missing or may have mis-edited files in /etc.
> >
> > Below is /tmp just after booting & I have logged in on the console and not
> > have started Xorg yet ...
> >
> >    % /bin/ls -FaCl /tmp/
> >    total 36
> >    drwxrwxrwt   7 root  wheel   7 Apr 17 09:37 ./
> >    drwxr-xr-x  24 root  wheel  29 Apr 16 23:37 ../
> >    drwxrwxrwt   2 root  wheel   2 Apr 16 23:37 .ICE-unix/
> >    drwxrwxrwt   2 root  wheel   2 Apr 16 23:37 .X11-unix/
> >    drwxrwxrwt   2 root  wheel   2 Apr 16 23:37 .XIM-unix/
> >    drwxrwxrwt   2 root  wheel   2 Apr 16 23:37 .font-unix/
> >    drwxr-xr-x   2 parv  wheel   2 Apr 17 09:37 gimp-parv/
> >
> > ... that "/tmp/gimp-parv" directory is created during my shell start up. All
> > others are created by FreeBSD.
> >
> >
> > - parv
> >
>
> olivares@coolermaster:~ $ cat output1.txt
> drwxrwxrwt  7 root  wheel  uarch 8 Apr 19 08:40 /tmp/
> olivares@coolermaster:~ $ cat output2.txt
> drwxrwxrwt  7 root  wheel  uarch 8 Apr 19 08:40 /tmp/
> olivares@coolermaster:~ $
>
> olivares@coolermaster:~ $ /bin/ls -FaCl /tmp/
> total 49
> drwxrwxrwt  11 root      wheel    17 Apr 19 09:45 ./
> drwxr-xr-x  19 root      wheel    25 Apr 19 08:40 ../
> drwxrwxrwt   2 root      wheel     3 Apr 19 08:45 .ICE-unix/
> -r--r--r--   1 root      wheel    11 Apr 19 08:45 .X0-lock
> drwxrwxrwt   2 root      wheel     3 Apr 19 08:45 .X11-unix/
> drwxrwxrwt   2 root      wheel     2 Apr 19 08:40 .XIM-unix/
> drwxrwxrwt   2 root      wheel     2 Apr 19 08:40 .font-unix/
> -rw-------   1 olivares  wheel  3875 Apr 19 08:51 .org.chromium.Chromium.2ecL1k
> drwx------   2 olivares  wheel     4 Apr 19 08:46 .org.chromium.Chromium.nZXKvi/
> -rw-------   1 olivares  wheel   217 Apr 19 08:45 .xfsm-ICE-O5FS10
> srwxr-xr-x   1 olivares  wheel     0 Apr 16 14:14
> OSL_PIPE_1001_SingleOfficeIPC_749a372921d46a7f4f5b5830cf8f4a2=
> srwxrwxrwx   1 olivares  wheel     0 Apr 19 08:45 dbus-2iq1roUF1X=
> srwxrwxrwx   1 olivares  wheel     0 Apr 19 08:45 dbus-liGTAm3Uq9=
> drwxr-xr-x   2 olivares  wheel     2 Apr 19 09:59 hsperfdata_olivares/
> drwx------   2 olivares  wheel     4 Apr 19 09:45 mozilla_olivares0/
> drwxr-xr-x   3 olivares  wheel     3 Apr 19 09:38 olivares/
> drwx------   2 olivares  wheel     3 Apr 19 08:45 ssh-AS0nuFTMcEuw/
> olivares@coolermaster:~ $
>
> Thank you for helping
>
> Best Regards,
>
>
> Antonio

This problem has been fixed.  Thanks to all FreeBSD users who helped.
Two problems remain one is shutdown, machine does not completely
shutdown and the itweb-javaws does not fully open *.jnlp files (Java
Web Start). But we shall keep trying to fix these.

Best Regards,


Antonio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5UdcO65mSWOOfs8%2BARSqYwNkU88s_AmCkGq_3oqpwihsGMZw>