<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto"><span style="caret-color: rgb(39, 39, 40);">On Feb 21, 2020, 10:14 AM -0500, mwilson--- via talk <talk@gtalug.org>, wrote:</span><br style="caret-color: rgb(39, 39, 40);" />
<blockquote type="cite" class="spark_quote" style="caret-color: rgb(39, 39, 40); margin: 5px; padding-left: 10px; border-left-width: thin; border-left-style: solid; border-left-color: rgb(26, 188, 156);">Would it be as simple to change the permissions on the particular drive,<br />
and then just let the users have at it?<br />
<br />
eg. sudo chmod a+rw /dev/mmcblk0<br /></blockquote>
</div>
<div dir="auto"><br /></div>
<div dir="auto">To be safe, you would have to disallow mounting of filesystems on that drive (or any other drive with the same media) because someone could make a filesystem on that media, create a SUID program in that filesystem (through raw I/O), mount the filesystem, and then run the SUID program. If I recall, there is a flag you can set on mount that prevents running of SUID programs on the filesystem…. that would also suffice.</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">../Dave</div>
</div>
<div name="messageReplySection">
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;"></blockquote>
<br /></div>
</body>
</html>