Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Apr 2021 20:06:07 -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:  <CABObuOoZcJjwwNgeKg5hHUoSrY2LOMxEhm8t8X5Dj=h4tJjscg@mail.gmail.com>
In-Reply-To: <CABObuOonnS-yixt97FP%2BY6k8rRM-_mo2CvN6CJ4GWwaGqsf7yA@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 16, 2021 at 4:09 PM parv/freebsd wrote:
...

> Instead of setting setuid on each & every file & directory under /tmp,
>

Sorry, above =E2=80=9Csetuid=E2=80=9D should have been =E2=80=9Csticky bit=
=E2=80=9D.


- parv


you need
> to set those permissions on /tmp directory itself. Then anyone can create
> the
> files in /tmp & not overwrite each others'.
>
> But before you do that, please post the output of ...
>
>   % /bin/ls -Fold /tmp
>
> ... below is from on my computer, all the directories are created (much) =
after
> machine has rebooted & I do not set the permission on any files & directo=
ries in
> /tmp ...
>
>
> drwxrwxrwt   7 root  wheel  uarch     9 Apr 16 15:50 /tmp/
>
>
> ... you can set the permissions on /tmp via as root ...
>
>   % chmod 1777 /tmp
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABObuOoZcJjwwNgeKg5hHUoSrY2LOMxEhm8t8X5Dj=h4tJjscg>