Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Apr 2021 09:51:13 -1000
From:      "parv/freebsd" <parv.0zero9+freebsd@gmail.com>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>, Gary Aitken <freebsd@dreamchaser.org>
Subject:   Re: X does not work as regular user, but it does at root
Message-ID:  <CABObuOonUw0nJs-to%2Bu0vSuf3CPt-bhD1k_vFrCEdAhib1VB0Q@mail.gmail.com>
In-Reply-To: <CABObuOoZcJjwwNgeKg5hHUoSrY2LOMxEhm8t8X5Dj=h4tJjscg@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>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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