File Permission Changes caused by TorrentZip
swhetzel at gmail.com
Thu May 5 10:08:46 PDT 2005
I recently submitted the TorrentZip port and one thing it does when
scanning a directory of Zip files, is it changes the Zip files
permissions to 400 during the scan, and changes them back to 600 when
TorrentZip is done.
The reason the program is doing this is so that it doesn't attempt to
rescan a previously scaned zip file.
They are working on fixing this problem, but need to know what would
be the best option.
1. Add the suid bit to the zip files permissions before scanning, and
then remove when done scanning.
2. change the user execute bit on zip files permissions before
scanning, and then remove when done scanning.
NOTE: both options would keep the original file permissions when the
scan has completed.
More information about the freebsd-ports