Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 May 2005 12:08:45 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        FreeBSD-Ports@freebsd.org
Subject:   File Permission Changes caused by TorrentZip
Message-ID:  <790a9fff05050510083f124871@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff05050510083f124871>