X does not work as regular user, but it does at root
Antonio Olivares
olivares14031 at gmail.com
Mon Apr 19 15:05:45 UTC 2021
On Sat, Apr 17, 2021 at 2:51 PM parv/freebsd
<parv.0zero9+freebsd at 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 at coolermaster:~ $ cat output1.txt
drwxrwxrwt 7 root wheel uarch 8 Apr 19 08:40 /tmp/
olivares at coolermaster:~ $ cat output2.txt
drwxrwxrwt 7 root wheel uarch 8 Apr 19 08:40 /tmp/
olivares at coolermaster:~ $
olivares at 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 at coolermaster:~ $
Thank you for helping
Best Regards,
Antonio
More information about the freebsd-questions
mailing list