Share not removed with uninstall of related App... ?

jbmia
Posts: 67
Joined: Sun Nov 07, 2010 11:59 am

Share not removed with uninstall of related App... ?

Postby jbmia » Mon Oct 08, 2012 1:38 pm

At some point I installed Qbittorrent, but never really used it. As with many apps, at installation a share was automatically created. I deleted the App, but the share remained. I've gone into the hda shares page and deleted the share from there, and it is removed from the shares page, however, the actual share (viewed via CLI and browsing shares from remote machines) still displays the share. Can anyone point me in the right direction to actually remove this share and help me to understand why removing the app and/or removing the share from the hda home page didn't actually remove it?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Share not removed with uninstall of related App... ?

Postby bigfoot65 » Mon Oct 08, 2012 2:51 pm

To remove the share do the following:

Code: Select all

rm -rf /var/hda/files/share
If using Fedora, it's done as root. For Ubuntu, precede the command with sudo. The reason the share folder is not removed automatically is to prevent data loss. If you uninstall the app or remove the share, there may be data you still need to retain. This is more a safety feature for the users, but prevents accidental lost of data.

Some apps require uninstall and reinstall for upgrade. If the share was removed as you desire, it would also delete all your data for that app. Then when you reinstalled the app, it would be lost.

Hope that makes sense. Removing a folder manually is a small price to pay in my opinion to prevent data loss.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 6 guests