QubesIncoming folder in /tmp ??

15 views
Skip to first unread message

haaber

unread,
Jun 30, 2023, 6:28:26 AM6/30/23
to qubes-users
Hi I was wondering if it would not me preferable (at least in some VM's)
to delocalise the QubesIncoming folder in /tmp to have it "cleaned up"
regularly. It's a pain to do so manually. Is there a problem doing so ? 
What would be the cleanest way to do it? A symlink ??  thank you, Bernhard



Ulrich Windl (Google)

unread,
Jun 30, 2023, 7:16:32 AM6/30/23
to qubes...@googlegroups.com
Hi!

I wonder: Couldn't a systemd service do that?

Ulrich

unman

unread,
Jun 30, 2023, 9:18:54 PM6/30/23
to haaber, qubes-users
I use this in rc.local:
```
mkdir /home/user/QubesIncoming
chown user:user /home/user/QubesIncoming
mkdir /tmp/QubesIncoming
chown user:user /tmp/QubesIncoming
mount --bind /tmp/QubesIncoming /home/user/QubesIncoming
```

I dont think the chown calls are needed, but I put them in , and have
not removed them.
Works as you would expect.

Andrew David Wong

unread,
Jun 30, 2023, 9:57:24 PM6/30/23
to haaber, qubes-users
I thought there was already an open issue for this, but I couldn't find one, so I just opened this:

https://github.com/QubesOS/qubes-issues/issues/8307

Sven Semmler

unread,
Jul 3, 2023, 1:16:16 AM7/3/23
to Andrew David Wong, haaber, qubes-users
I like the way the ticket is formulated ... only empty directories should be removed.

I'd be extremely careful with binding QubesIncoming to /tmp ... this might lead to unintended loss if qvm-move is used or the origin is a disposable and the user does not immediately move the file out of QubesIncoming. Also consider the Idle-Shutdown script.

Personally I often treat QubesIncoming as an Inbox of sorts for different domains. Having files vanish without manual interaction would be a disaster in some cases.
Reply all
Reply to author
Forward
0 new messages