Why is gnome-calculator scanning my home directory?












2















I'm currently running Ubuntu 18.04.1 and have gnome-calculator 3.30.1 installed. I'm pretty sure that's the one that came bundled with 18.04.



enter image description here



Every time I launch gnome-calculator the following message is logged in /var/log/kern.log by apparmor:



kernel: [10238.459543]
audit: type=1400
audit(1547652310.229:29638):
apparmor="DENIED"
operation="open"
profile="snap.gnome-calculator.gnome-calculator"
name="/home/me/Documents/"
pid=10260
comm="head"
requested_mask="r"
denied_mask="r"
fsuid=1000
ouid=1000


Seven additional, identical messages are logged, with the only difference being the directory that gnome-calculator is attempting to access:



name="/home/me/Desktop/"
name="/home/me/Downloads/"
name="/home/me/Music/"
name="/home/me/Pictures/"
name="/home/me/Videos/"
name="/home/me/Public/"
name="/home/me/Templates/"


My interpretation of the above is that gnome-calculator is attempting to scan the contents of my home directory and AppArmor is preventing it from doing so.



If that's the case, why is gnome-calculator scanning my home directory?



Is anyone else seeing the same log messages? Is gnome-calculator 3.30.1 infected by malware? Should I be concerned?










share|improve this question




















  • 3





    Pretty sure something to do with snappy (pre-installed calculator is a snap application).

    – pomsky
    7 hours ago











  • It would seem as though that's got something to do with it. If I replace the snap version with the apt version the messages stop. I've got about 10 different snaps installed, though, and only gnome-calculator is scanning my home directory — so there's something different about gnome-calculator.

    – Tim
    6 hours ago













  • The snap version of gnome-system-monitor seems to generate AppArmor messages as well. Not the same type, but given they happen every 6 seconds they have the potential to chew up a large amount of drive space.

    – Tim
    5 hours ago






  • 1





    There's some misunderstanding here. The snap of gnome-calculator does not use the home interface so it cannot access the home directory of the user. The error message you're seeing is a warning that it cannot access home. if you replace the snap with a deb you're actually undoing that, and installing a calculator which can access your home directory. It's not malware, and it's not "scanning" your home directory. It's working normally.

    – popey
    2 hours ago






  • 1





    Not necessarily. Again, try not to jump to conclusions that the calculator is somehow trying to do something nafarious. The snaps use a generic launcher script which does a bunch of stuff which is generic for many snaps. It's likely just setting up those directories so that if the application needs to access Music, or Pictures, it has the right mounts/links to get to them.

    – popey
    1 hour ago
















2















I'm currently running Ubuntu 18.04.1 and have gnome-calculator 3.30.1 installed. I'm pretty sure that's the one that came bundled with 18.04.



enter image description here



Every time I launch gnome-calculator the following message is logged in /var/log/kern.log by apparmor:



kernel: [10238.459543]
audit: type=1400
audit(1547652310.229:29638):
apparmor="DENIED"
operation="open"
profile="snap.gnome-calculator.gnome-calculator"
name="/home/me/Documents/"
pid=10260
comm="head"
requested_mask="r"
denied_mask="r"
fsuid=1000
ouid=1000


Seven additional, identical messages are logged, with the only difference being the directory that gnome-calculator is attempting to access:



name="/home/me/Desktop/"
name="/home/me/Downloads/"
name="/home/me/Music/"
name="/home/me/Pictures/"
name="/home/me/Videos/"
name="/home/me/Public/"
name="/home/me/Templates/"


My interpretation of the above is that gnome-calculator is attempting to scan the contents of my home directory and AppArmor is preventing it from doing so.



If that's the case, why is gnome-calculator scanning my home directory?



Is anyone else seeing the same log messages? Is gnome-calculator 3.30.1 infected by malware? Should I be concerned?










share|improve this question




















  • 3





    Pretty sure something to do with snappy (pre-installed calculator is a snap application).

    – pomsky
    7 hours ago











  • It would seem as though that's got something to do with it. If I replace the snap version with the apt version the messages stop. I've got about 10 different snaps installed, though, and only gnome-calculator is scanning my home directory — so there's something different about gnome-calculator.

    – Tim
    6 hours ago













  • The snap version of gnome-system-monitor seems to generate AppArmor messages as well. Not the same type, but given they happen every 6 seconds they have the potential to chew up a large amount of drive space.

    – Tim
    5 hours ago






  • 1





    There's some misunderstanding here. The snap of gnome-calculator does not use the home interface so it cannot access the home directory of the user. The error message you're seeing is a warning that it cannot access home. if you replace the snap with a deb you're actually undoing that, and installing a calculator which can access your home directory. It's not malware, and it's not "scanning" your home directory. It's working normally.

    – popey
    2 hours ago






  • 1





    Not necessarily. Again, try not to jump to conclusions that the calculator is somehow trying to do something nafarious. The snaps use a generic launcher script which does a bunch of stuff which is generic for many snaps. It's likely just setting up those directories so that if the application needs to access Music, or Pictures, it has the right mounts/links to get to them.

    – popey
    1 hour ago














2












2








2


1






I'm currently running Ubuntu 18.04.1 and have gnome-calculator 3.30.1 installed. I'm pretty sure that's the one that came bundled with 18.04.



enter image description here



Every time I launch gnome-calculator the following message is logged in /var/log/kern.log by apparmor:



kernel: [10238.459543]
audit: type=1400
audit(1547652310.229:29638):
apparmor="DENIED"
operation="open"
profile="snap.gnome-calculator.gnome-calculator"
name="/home/me/Documents/"
pid=10260
comm="head"
requested_mask="r"
denied_mask="r"
fsuid=1000
ouid=1000


Seven additional, identical messages are logged, with the only difference being the directory that gnome-calculator is attempting to access:



name="/home/me/Desktop/"
name="/home/me/Downloads/"
name="/home/me/Music/"
name="/home/me/Pictures/"
name="/home/me/Videos/"
name="/home/me/Public/"
name="/home/me/Templates/"


My interpretation of the above is that gnome-calculator is attempting to scan the contents of my home directory and AppArmor is preventing it from doing so.



If that's the case, why is gnome-calculator scanning my home directory?



Is anyone else seeing the same log messages? Is gnome-calculator 3.30.1 infected by malware? Should I be concerned?










share|improve this question
















I'm currently running Ubuntu 18.04.1 and have gnome-calculator 3.30.1 installed. I'm pretty sure that's the one that came bundled with 18.04.



enter image description here



Every time I launch gnome-calculator the following message is logged in /var/log/kern.log by apparmor:



kernel: [10238.459543]
audit: type=1400
audit(1547652310.229:29638):
apparmor="DENIED"
operation="open"
profile="snap.gnome-calculator.gnome-calculator"
name="/home/me/Documents/"
pid=10260
comm="head"
requested_mask="r"
denied_mask="r"
fsuid=1000
ouid=1000


Seven additional, identical messages are logged, with the only difference being the directory that gnome-calculator is attempting to access:



name="/home/me/Desktop/"
name="/home/me/Downloads/"
name="/home/me/Music/"
name="/home/me/Pictures/"
name="/home/me/Videos/"
name="/home/me/Public/"
name="/home/me/Templates/"


My interpretation of the above is that gnome-calculator is attempting to scan the contents of my home directory and AppArmor is preventing it from doing so.



If that's the case, why is gnome-calculator scanning my home directory?



Is anyone else seeing the same log messages? Is gnome-calculator 3.30.1 infected by malware? Should I be concerned?







18.04 snap malware system-monitor gnome-calculator






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 5 hours ago







Tim

















asked 8 hours ago









TimTim

22229




22229








  • 3





    Pretty sure something to do with snappy (pre-installed calculator is a snap application).

    – pomsky
    7 hours ago











  • It would seem as though that's got something to do with it. If I replace the snap version with the apt version the messages stop. I've got about 10 different snaps installed, though, and only gnome-calculator is scanning my home directory — so there's something different about gnome-calculator.

    – Tim
    6 hours ago













  • The snap version of gnome-system-monitor seems to generate AppArmor messages as well. Not the same type, but given they happen every 6 seconds they have the potential to chew up a large amount of drive space.

    – Tim
    5 hours ago






  • 1





    There's some misunderstanding here. The snap of gnome-calculator does not use the home interface so it cannot access the home directory of the user. The error message you're seeing is a warning that it cannot access home. if you replace the snap with a deb you're actually undoing that, and installing a calculator which can access your home directory. It's not malware, and it's not "scanning" your home directory. It's working normally.

    – popey
    2 hours ago






  • 1





    Not necessarily. Again, try not to jump to conclusions that the calculator is somehow trying to do something nafarious. The snaps use a generic launcher script which does a bunch of stuff which is generic for many snaps. It's likely just setting up those directories so that if the application needs to access Music, or Pictures, it has the right mounts/links to get to them.

    – popey
    1 hour ago














  • 3





    Pretty sure something to do with snappy (pre-installed calculator is a snap application).

    – pomsky
    7 hours ago











  • It would seem as though that's got something to do with it. If I replace the snap version with the apt version the messages stop. I've got about 10 different snaps installed, though, and only gnome-calculator is scanning my home directory — so there's something different about gnome-calculator.

    – Tim
    6 hours ago













  • The snap version of gnome-system-monitor seems to generate AppArmor messages as well. Not the same type, but given they happen every 6 seconds they have the potential to chew up a large amount of drive space.

    – Tim
    5 hours ago






  • 1





    There's some misunderstanding here. The snap of gnome-calculator does not use the home interface so it cannot access the home directory of the user. The error message you're seeing is a warning that it cannot access home. if you replace the snap with a deb you're actually undoing that, and installing a calculator which can access your home directory. It's not malware, and it's not "scanning" your home directory. It's working normally.

    – popey
    2 hours ago






  • 1





    Not necessarily. Again, try not to jump to conclusions that the calculator is somehow trying to do something nafarious. The snaps use a generic launcher script which does a bunch of stuff which is generic for many snaps. It's likely just setting up those directories so that if the application needs to access Music, or Pictures, it has the right mounts/links to get to them.

    – popey
    1 hour ago








3




3





Pretty sure something to do with snappy (pre-installed calculator is a snap application).

– pomsky
7 hours ago





Pretty sure something to do with snappy (pre-installed calculator is a snap application).

– pomsky
7 hours ago













It would seem as though that's got something to do with it. If I replace the snap version with the apt version the messages stop. I've got about 10 different snaps installed, though, and only gnome-calculator is scanning my home directory — so there's something different about gnome-calculator.

– Tim
6 hours ago







It would seem as though that's got something to do with it. If I replace the snap version with the apt version the messages stop. I've got about 10 different snaps installed, though, and only gnome-calculator is scanning my home directory — so there's something different about gnome-calculator.

– Tim
6 hours ago















The snap version of gnome-system-monitor seems to generate AppArmor messages as well. Not the same type, but given they happen every 6 seconds they have the potential to chew up a large amount of drive space.

– Tim
5 hours ago





The snap version of gnome-system-monitor seems to generate AppArmor messages as well. Not the same type, but given they happen every 6 seconds they have the potential to chew up a large amount of drive space.

– Tim
5 hours ago




1




1





There's some misunderstanding here. The snap of gnome-calculator does not use the home interface so it cannot access the home directory of the user. The error message you're seeing is a warning that it cannot access home. if you replace the snap with a deb you're actually undoing that, and installing a calculator which can access your home directory. It's not malware, and it's not "scanning" your home directory. It's working normally.

– popey
2 hours ago





There's some misunderstanding here. The snap of gnome-calculator does not use the home interface so it cannot access the home directory of the user. The error message you're seeing is a warning that it cannot access home. if you replace the snap with a deb you're actually undoing that, and installing a calculator which can access your home directory. It's not malware, and it's not "scanning" your home directory. It's working normally.

– popey
2 hours ago




1




1





Not necessarily. Again, try not to jump to conclusions that the calculator is somehow trying to do something nafarious. The snaps use a generic launcher script which does a bunch of stuff which is generic for many snaps. It's likely just setting up those directories so that if the application needs to access Music, or Pictures, it has the right mounts/links to get to them.

– popey
1 hour ago





Not necessarily. Again, try not to jump to conclusions that the calculator is somehow trying to do something nafarious. The snaps use a generic launcher script which does a bunch of stuff which is generic for many snaps. It's likely just setting up those directories so that if the application needs to access Music, or Pictures, it has the right mounts/links to get to them.

– popey
1 hour ago










1 Answer
1






active

oldest

votes


















2














No worries, it seems quite normal.



I installed gnome-calculator as a snap. When starting it from the
command line, nothing special happens but when I start it via the GUI
(Activities → Search → Calculator) then I see the same messages as
you do in kern.log about scanning my $HOME.



I again uninstalled the snap and installed the apt package instead
with the following commands:



# switch from snap to apt:
sudo snap remove gnome-calculator
sudo apt install gnome-calculator


and the messages do no longer appear.



Plus, I can start gnome-calculator by a special key on my keyboard and
it opens far quicker, but that's another cup of tea (see this related
and interesting post).



(Btw, I also replaced the snap version of gnome-system-monitor with the
apt version because the snap version lists all the snap filesystems
while the apt version only lists the "regular" ones. I see no point in
listing dozens of those squashfs filesystems which are all 100 %
full. It just messes up the display.)






share|improve this answer


























  • Would you mind updating your answer to include the two commands for uninstalling the snap version and installing the apt version?

    – Tim
    6 hours ago











  • @Tim Sure. Done.

    – PerlDuck
    5 hours ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110312%2fwhy-is-gnome-calculator-scanning-my-home-directory%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














No worries, it seems quite normal.



I installed gnome-calculator as a snap. When starting it from the
command line, nothing special happens but when I start it via the GUI
(Activities → Search → Calculator) then I see the same messages as
you do in kern.log about scanning my $HOME.



I again uninstalled the snap and installed the apt package instead
with the following commands:



# switch from snap to apt:
sudo snap remove gnome-calculator
sudo apt install gnome-calculator


and the messages do no longer appear.



Plus, I can start gnome-calculator by a special key on my keyboard and
it opens far quicker, but that's another cup of tea (see this related
and interesting post).



(Btw, I also replaced the snap version of gnome-system-monitor with the
apt version because the snap version lists all the snap filesystems
while the apt version only lists the "regular" ones. I see no point in
listing dozens of those squashfs filesystems which are all 100 %
full. It just messes up the display.)






share|improve this answer


























  • Would you mind updating your answer to include the two commands for uninstalling the snap version and installing the apt version?

    – Tim
    6 hours ago











  • @Tim Sure. Done.

    – PerlDuck
    5 hours ago
















2














No worries, it seems quite normal.



I installed gnome-calculator as a snap. When starting it from the
command line, nothing special happens but when I start it via the GUI
(Activities → Search → Calculator) then I see the same messages as
you do in kern.log about scanning my $HOME.



I again uninstalled the snap and installed the apt package instead
with the following commands:



# switch from snap to apt:
sudo snap remove gnome-calculator
sudo apt install gnome-calculator


and the messages do no longer appear.



Plus, I can start gnome-calculator by a special key on my keyboard and
it opens far quicker, but that's another cup of tea (see this related
and interesting post).



(Btw, I also replaced the snap version of gnome-system-monitor with the
apt version because the snap version lists all the snap filesystems
while the apt version only lists the "regular" ones. I see no point in
listing dozens of those squashfs filesystems which are all 100 %
full. It just messes up the display.)






share|improve this answer


























  • Would you mind updating your answer to include the two commands for uninstalling the snap version and installing the apt version?

    – Tim
    6 hours ago











  • @Tim Sure. Done.

    – PerlDuck
    5 hours ago














2












2








2







No worries, it seems quite normal.



I installed gnome-calculator as a snap. When starting it from the
command line, nothing special happens but when I start it via the GUI
(Activities → Search → Calculator) then I see the same messages as
you do in kern.log about scanning my $HOME.



I again uninstalled the snap and installed the apt package instead
with the following commands:



# switch from snap to apt:
sudo snap remove gnome-calculator
sudo apt install gnome-calculator


and the messages do no longer appear.



Plus, I can start gnome-calculator by a special key on my keyboard and
it opens far quicker, but that's another cup of tea (see this related
and interesting post).



(Btw, I also replaced the snap version of gnome-system-monitor with the
apt version because the snap version lists all the snap filesystems
while the apt version only lists the "regular" ones. I see no point in
listing dozens of those squashfs filesystems which are all 100 %
full. It just messes up the display.)






share|improve this answer















No worries, it seems quite normal.



I installed gnome-calculator as a snap. When starting it from the
command line, nothing special happens but when I start it via the GUI
(Activities → Search → Calculator) then I see the same messages as
you do in kern.log about scanning my $HOME.



I again uninstalled the snap and installed the apt package instead
with the following commands:



# switch from snap to apt:
sudo snap remove gnome-calculator
sudo apt install gnome-calculator


and the messages do no longer appear.



Plus, I can start gnome-calculator by a special key on my keyboard and
it opens far quicker, but that's another cup of tea (see this related
and interesting post).



(Btw, I also replaced the snap version of gnome-system-monitor with the
apt version because the snap version lists all the snap filesystems
while the apt version only lists the "regular" ones. I see no point in
listing dozens of those squashfs filesystems which are all 100 %
full. It just messes up the display.)







share|improve this answer














share|improve this answer



share|improve this answer








edited 5 hours ago

























answered 6 hours ago









PerlDuckPerlDuck

5,74211332




5,74211332













  • Would you mind updating your answer to include the two commands for uninstalling the snap version and installing the apt version?

    – Tim
    6 hours ago











  • @Tim Sure. Done.

    – PerlDuck
    5 hours ago



















  • Would you mind updating your answer to include the two commands for uninstalling the snap version and installing the apt version?

    – Tim
    6 hours ago











  • @Tim Sure. Done.

    – PerlDuck
    5 hours ago

















Would you mind updating your answer to include the two commands for uninstalling the snap version and installing the apt version?

– Tim
6 hours ago





Would you mind updating your answer to include the two commands for uninstalling the snap version and installing the apt version?

– Tim
6 hours ago













@Tim Sure. Done.

– PerlDuck
5 hours ago





@Tim Sure. Done.

– PerlDuck
5 hours ago


















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110312%2fwhy-is-gnome-calculator-scanning-my-home-directory%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

GameSpot

日野市

Tu-95轟炸機