Hi.

On Thu, 5 Sep 2013 11:19:25 -0700
peasth...@shaw.ca wrote:

> /dev/KingstonUSB  /home/peter/MY   ext2  defaults,noauto,user  0       0

This line is the reason.

ext2 filesystem stores information about file/directory permissions
inside itself, and root of this filesystem (/home/peter/MY) is owned by
root (uid=0 user).

user=peter mount option allow this ordinary user to unmount filesystem,
but has nothing in common with filesystem permissions.

No amount of tinkering with mount options or device permissions will
change filesystem permissions, you'll need to use chown(1) and chmod(1)
for this.

vfat filesystem (you use it for /home/peter/mylo) does not support
file/directory permissions, so mount option user=peter also allows said
user to do anything with filesystem contents.

In short, invoke (after mounting the filesystem):

chown -R peter /home/peter/MY

it'll solve you problem.

Reco


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130906003405.974f678a1e3a289a4e397...@gmail.com

Reply via email to