[lucid] how to mount USB storage with correct permissions?

Brian Wootton Brian.Meg at btinternet.com
Fri Oct 29 15:54:03 UTC 2010


On 29/10/10 15:08, kubuntu-users-request at lists.ubuntu.com wrote:
> On Friday 29 October 2010, Nils Kassube wrote:
>    
>> >  shawn wilson wrote:
>>      
>>> >  >  What reinhold said is the proper way to do things (add yourself
>>> >  >  to the disk group).
>>>        
>> >  
>> >  No, adding someone to the disk group is NOT the proper way. If I
>> >  were a member of that group I could by mistake wipe entire disks
>> >  with any command that would write to the device file of the disk
>> >  / partition even without the use of sudo. The permissions for
>> >  access to files on the disk MUST be handled by the kernel after
>> >  mounting the partition.
>>      
> +1
> The adding the user to the disk group would have been a desperate
> effort to get the permissions to mount, but seeing as how that isn't
> the problem, this isn't necessary.
>
> Just to be clear, the accessing external devices privileges thing is
> the plugdev group - members of the disk group can do pretty much
> anything to any attached disk, including the hard drive Linux is
> running on. Sorry for any confusion.
>
>    --Reinhold
>
>
>    
Being simple minded I would(as root) create a directory in the
memory stick, or whatever it is, chown+chgrp the directory
  to $USER and tell $USER where he or she could write to on
that stick.
brian





More information about the kubuntu-users mailing list