[xubuntu-users] changing ownership on thumb drive

Victor Forberger vforberger at fastmail.fm
Fri May 13 12:45:52 UTC 2016



On 05/13/2016 05:29 AM, Thomas Stein wrote:
> On 2016-05-13 12:20, JMZ wrote:
>> Hi,
>>
>> I'm having some weird issues with thumb drive ownership.  Steps:
>>
>> 1) 'sudo blkid' to call up the thumb drive assignment
>>
>> 2) 'sudo mount /dev/sd* /thumb' [where /dev/sd* is the drive
>> assignment, and /thumb a directory off of the root]
>>
> [...]
>> Any ideas?  Thanks,
>> Jordan
> 
> You can pass the owner to the mount command. Try
> 
> sudo mount -t auto /dev/sd* -o uid=blah
> 
> Thomas Stein
> 
I have had similar problems when trying to mount hfs+ volumes in linux.
The sudo chown command fails because hfs+ files have access permissions
that are connected to another user and I cannot just willy-nilly take
over those files.

Have you looked at any of the following log files in /var/log to see
what is happening when you mount the volume?

syslog
kern.log
Xorg.0.log
auth.log

I'm not asking for the output in all of these log files. But, look for
messages describing errors associated with the mounting of the file.

And, I think we are all assuming that you are blah in this example and
the files on the thumb drive belong to blah. If you're not blah but ugh
(or the files belong to ugh), then there are additional issues regarding
ugh trying to have access to files associated with blah.

good luck,
Vic

--
Victor Forberger
vforberger at fastmail.fm
blog: http://linuxatty.wordpress.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/xubuntu-users/attachments/20160513/9e00513e/attachment.sig>


More information about the xubuntu-users mailing list