Page 1 of 1

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

Posted: Mon Oct 08, 2012 1:38 pm
by jbmia
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?

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

Posted: Mon Oct 08, 2012 2:51 pm
by bigfoot65
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.