need to unplug USB drive

Nigel Ridley nigel at rmk.co.il
Sun Oct 28 10:31:41 UTC 2007


Sylviane et Perry White wrote:
> Hi,
> 
> If I plug in my "SanDisk" as user A, A becomes the owner.
> Then if I change session to user B, B cannot write to the "SanDisk"
> 
> I tried to su as user A (perry) and use chmod, but to no avail:
> I was able to decrease the permissions to 700 (that made the drive not 
> accessible at all for user B)
> But trying to increase the permission at 777 had no effect for user B and the 
> setting was back at 755 after su(ing) again to user A.
> 
> I also explored the system settings  and got the access right bars ungreyed 
> (clickable) in the access-right tab of the properties for the disk ( and also 
> managed to have executable programs work directly from the drive)
> That was of no help because I could not make those permissions stick(y)
> Had no luck on Google either.
> 
> 
> Solutions:
> 1) Pull out and plug in again the disk ("safely remove does not work here")
> 	_simple but not elegant.
> 2) Change session to user A, "safely remove" and change again to user B.
> 	_tedious, and does not work unless disk is physically removed.
> 3) su as A and use command lines to write.
> 	_my wife can't do that  ;-)
> 
> 4)	***What do you suggest?***
> 
> Thanks for pointers		Perry
> 

There is a similar problem with other auto-mounted media devices.
The same thing happens with a data CD or a digital camera (USB). My 
daughters' computer will sometimes have 2 active users (with one of them 
having inserted a data CD) and then I come along (and log into my 
account) to do something with the cdrom and can't unmount it because 
there are already 2 users 'accessing' it. I try to eject/unmount it but 
get the 'Device in Use' message (or something similar) - so I switch 
users and try again only to get the same message. I have to log 
everybody out except for one user then eject/unmount it.

There must be a better way to manage auto-mounted media devices.

Blessings,

Nigel

-- 
OliveRoot Ministries
http://www.oliveroot.net/

PrayingForIsrael.net
http://www.prayingforisrael.net/






More information about the kubuntu-users mailing list