You are not logged in.

#1 2020-03-06 13:45:50

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Lithium installation created bin, usr etc in Home Folder [SOLVED]

I just noticed that my Lithium i installation created
/tmp
/usr
/bin
/GPUcache

at the root of my ~Home folder

Example 1  in /home/bin there is dropbox.py there


Not a big thing but wanted to report it...

Am i the only one ?

It's may be the Dropbox install/option that did that....

Example 2 of some folder created
/home/yoda/usr/share/bunsen/skel/

Last edited by yoda (2020-03-06 18:12:57)


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#2 2020-03-06 14:24:05

damo
....moderator....
Registered: 2015-08-20
Posts: 5,825

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

You are supposed to have ~/bin and ~/tmp - they are default $USER directories;

If you installed Dropbox, then it is expected that you would find ~/bin/dropbox.py;

IIRC the ~/usr dir is for checking if there have been updates to the user's config from new skel files, and letting them know.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#3 2020-03-06 14:35:31

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

ok tks
I never noticed those folders in ~ with previous distro but it doesn't mean they were not there...

Anyway if it's normal, cool... Just reported in case.


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#4 2020-03-06 15:59:24

rbh
Member
From: Sweden/Vasterbotten/Rusfors
Registered: 2016-08-11
Posts: 326

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

yoda wrote:

I just noticed that my Helium installation created
/tmp
/usr
/bin
/GPUcache

at the root of my ~Home folder

Realey Helium, Not Lithium?

I can not find /usr in either Helium4 live or Helium installation. But it is in my Lithuim install. /GPUcache, might be hardware dependent, it is in neither...


// Regards rbh

Offline

#5 2020-03-06 18:13:13

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

Grrr I corrected it.... Lithium Lithium  Lithium


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#6 2020-03-07 01:24:13

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,543
Website

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

Thanks Yoda you've found a bug.  ops

~/bin should be there - you can put executable scripts there and they will run with their name only, just like things in /usr/bin. (Try 'echo $PATH' to check that ~/bin is included.)

~/tmp is an alternative place to drop temporary files, more secure than using /tmp, but you will have to take care of emptying it yourself.

But...
~/usr should not be there! yikes I'm guessing one of our recently updated scripts created it. I just checked my Lithium Virtual Machine and I had it too, though all the subdirectories were empty.

For now, just delete ~/usr - it should do no harm. I'll do the same and see if it comes back. If it does, some detective work will be needed...

---
Just for info:
~/.local (note the dot) is a sort-of user's equivalent to /usr with sub-directories like share...
~/.config holds most (not all) apps' config files.
~/.cache holds data that apps refer to, but can survive without if the user deletes it.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#7 2020-03-07 01:27:25

damo
....moderator....
Registered: 2015-08-20
Posts: 5,825

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

johnraff wrote:

...
But...
~/usr should not be there! yikes I'm guessing one of our recently updated scripts created it. I just checked my Lithium Virtual Machine and I had it too, though all the subdirectories were empty.
...

I had noticed it on Lithium, but I guessed it was part of the $USER config update checks hmm


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

#8 2020-03-07 04:38:16

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,543
Website

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

Found the bug. In bl-user-setup when checking the contents of /usr/share/bunsen/skel find is passing that directory itself as one of the directories to be created in HOME. Adding the option -mindepth 1 seems to have fixed it. This will go out in the next update of bunsen-configs, but meanwhile it's relatively harmless I think.
https://github.com/BunsenLabs/bunsen-co … 3d4b7844d1


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#9 2020-03-07 12:35:06

yoda
Member
From: Montreal
Registered: 2018-12-28
Posts: 102
Website

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

johnraff wrote:

This will go out in the next update of bunsen-configs

Something done automatically or we have to do something ?

tks


According to Buddhism, we all met several times... This time, it's on this forum :-) May we meet again

Offline

#10 2020-03-07 17:41:48

damo
....moderator....
Registered: 2015-08-20
Posts: 5,825

Re: Lithium installation created bin, usr etc in Home Folder [SOLVED]

yoda wrote:
johnraff wrote:

This will go out in the next update of bunsen-configs

Something done automatically or we have to do something ?

tks

Just delete the ~/usr dir.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Online

Board footer

Powered by FluxBB