Skip to content

Conversation

@jonathonf
Copy link

@jonathonf jonathonf commented Nov 30, 2021

Various networked environments exist where a user's home directory is not owned by that user:

$ls -ld $HOME
drwx------ 139 root daemon 28672 Nov 30 10:48 /home/userfs/j/jonathon

With this patch Byobu checks ownership of $HOME/.profile too, as a default inclusion of /etc/skel.

Edit: I should also say I've been testing this patch since 2016 on a variety of Ubuntu versions (14.04 - 20.04) and it has been working fine.

Various networked environments exist where a user's home directory is
not owned by that user. With this patch Byobu checks ownership of
.profile too, as a default inclusion of /etc/skel.
@dustinkirkland
Copy link
Owner

Hmm, if you want this, I think we should only be testing ownership of ~/.profile, if ~/.profile exists. Currently, byobu would run just fine, even if ~/.profile did not exist at all. But with this patch, your test would cause byobu to fail entirely if ~/.profile doesn't exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants