I can't get past this without an error
$1=2048
$2=2048
$3="/mnt/ntfs/tv"
Code:
adam@adam-desktop:~$ $1=2048
=2048: command not found
adam@adam-desktop:~$ $2=2048
=2048: command not found
adam@adam-desktop:~$ $3="/mnt/ntfs/tv"
bash: =/mnt/ntfs/tv: No such file or directory
Basically, the checkpermissions function is called 6 separate times, from within the sanity checks portion of the script. For some reason, those dirs are being called bad and it's not free space. Those flags are only set in one portion of the program. The only way the workingdir can be set as bad is if you can't >>/workingdir/arbitraryfile.ext
Is there an arbitraryfile.ext somewhere?
How old is the version that you are working with? The code I'm looking at on code.google.com shows that the terminal will either display flags of 1 or an error message of some type. Every step along hte way it has a choice, it either sets a bad flag and exits from the checkpermissions () or it sets the writable flag after it deletes the arbitraryfile.ext.
I don't see how it's even possible for us to be running the same script and be seeing this.
Does fidora define datatypes for variables?
that would be a function of the
Code:
bash --version
GNU bash, version 4.0.33(1)-release (i486-pc-linux-gnu)