To make the review of your request easier, please use the following template to provide all the required details and also include any other information that may be relevant.
name: gtds
description: gtds simply means get the directory size. its a tool which calculates number of folder, files and their size in a specefic directory.
There are many factors to consider, even when your program runs in the classic configuration.
This error could have multiple causes.
To test, you could temporarily grant full access to a temporarily directory (recursively) containing some test files and run the program on this target directory to observe the results.
Not sure if any other reasons are there. Btw after creating the .snap the program runs fine on my local even on strict. but it seems not working after i install it using snap install .
ran sudo snap install gtds_1.0.1_amd64.snap --dangerous
got this
error: This revision of snap "gtds_1.0.1_amd64.snap" was published using
classic confinement and thus may perform arbitrary system changes
outside of the security sandbox that snaps are usually confined to,
which may put your system at risk.
If you understand and want to proceed repeat the command including
--classic.
then ran sudo snap install gtds_1.0.1_amd64.snap --dangerous --classic
got this gtds 1.0.1 installed
then i ran gtds -s
got an expected output
69 Files 38 Folders Took 0.01 s Total Size = 11.09 MB
In the .yaml file, if the snap has a classic scope, the installation will be done in classic mode (with the --classic option). But I fear that reviewers will accept that your program is published with the classic confinement .
your tool does not look like a compiler or IDE or like gdb … I think it is highly unlikely you will get classic granted by the reviewers based on that category (and I doubt there is any category for “disk usage analyzers” yet)
As explained by @ogra, this snap does not appear to fit within any of the supported categories for classic confinement. As such, we are unable to grant classic confinement for it at this time. Thanks.