need to unplug USB drive

Earl Violet ejviolet at yahoo.com
Sun Oct 28 14:45:47 GMT 2007


--- Nigel Ridley <nigel at rmk.co.il> wrote:

> 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
I have a similar problem with my USB stick.  I can copy a file to it
but when it comes to loading it on another computer, I need to move
it as root and change the permissions.

Earl


URL http://deserthowler.cjb.net
Instant messenger: earlcoyote
ICQ:64033496

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the kubuntu-users mailing list