2010-02-03, 16:51
Hey, instead of just setting tmovdirwritable=1, try removing the $ and the quotes in the variables passed
In the section that looks like this:
change them to this:
If that does not work, try removing the quotes and keeping the $. I would like to keep it clean like this, but I can remove the variable passing if required.
or this
There has to be a way to pass variables in Gentoo. Please test this out and let me know if it sets the flags properly. Just run the program a few times with these variants and see if it properly sets permissions. I don't want to add 20 lines to define variables which should be passed properly if I don't have to. Let me know what works please?
Basically, by setting tmovedirwritable=1 manually, you are bypassing several safety mechanisims which are designed to prevent improper naming, random errors, and data loss.
In the section that looks like this:
Code:
checkpermissions "$MoveFileSize" "$MoveDirFreeSpace" "$MoveDir"
change them to this:
Code:
checkpermissions MoveFileSize MoveDirFreeSpace MoveDir
If that does not work, try removing the quotes and keeping the $. I would like to keep it clean like this, but I can remove the variable passing if required.
Code:
checkpermissions $MoveFileSize $MoveDirFreeSpace $MoveDir
Code:
checkpermissions "$(MoveFileSize)" "($MoveDirFreeSpace)" "$(MoveDir)"
There has to be a way to pass variables in Gentoo. Please test this out and let me know if it sets the flags properly. Just run the program a few times with these variants and see if it properly sets permissions. I don't want to add 20 lines to define variables which should be passed properly if I don't have to. Let me know what works please?
Basically, by setting tmovedirwritable=1 manually, you are bypassing several safety mechanisims which are designed to prevent improper naming, random errors, and data loss.