<html><head></head><body>Maybe access them with elevated privileges as root.<br><br><div class="gmail_quote">On May 13, 2016 6:20:17 AM EDT, JMZ <florentior@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hi,<br /><br />I'm having some weird issues with thumb drive ownership. Steps:<br /><br />1) 'sudo blkid' to call up the thumb drive assignment<br /><br />2) 'sudo mount /dev/sd* /thumb' [where /dev/sd* is the drive assignment, <br />and /thumb a directory off of the root]<br /><br />---> 2a) [NB: /thumb is owned by the local account (here, 'blah') <br />__before__ the mount command. Afterwards, the mounted thumb drive is <br />owned by 'root' and can't be changed]<br /><br />3) 'sudo touch /thumb' [for some reason, I get the default DEC 31 1969 <br />when I mount the thumb drive]<br /><br /><br />but, when I type<br /><br />'sudo chown -R blah:blah /thumb', [where 'blah' is the local account], I <br />get<br /><br />'chown: changing ownership of '/thumb': Operation not permitted'<br /><br />***<br /><br />The chown switches -R or --recursive do not work. [there are <br />subdirectories on the thumb drive, and I would like all subdirectories <br />to be
changed to 'blah' ownership]<br /><br />I suspect that the system's assignment of a wrong date/time to the drive <br />might block the ownership change even after 'touch'. Is 'touch' <br />counterproductive?<br /><br />I have disabled automounting of thumb drives or indeed anything not in <br />fstab [ie. hard drive]. I have removed the /media directory.<br /><br /><br />Any ideas? Thanks,<br />Jordan<br /><br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>