Re: usb-key files locked by unknown user

2009-10-17 Thread Mark Grieveson
On Fri, 16 Oct 2009 22:22:54 -0400
Mark Grieveson dg...@torfree.net wrote:

 The usb/flash drive probably has the FAT32 filesystem on it, which
 does not
 support permissions.  Is it listed in /etc/fstab?  The 'owner'
 option there
 might fix your problem.  


I think there is some sort of issue with the mounting of it.  I did try
adding owner to the options, but that did not work (and gave some
other erratic results; so, I switched back.)  I use fluxbox, and I
manually mount usb-drives and digital cameras. My set up in
the /etc/fstab file is:

/dev/sda1   /media/usb  vfatnoauto,user 0   0
/dev/sdb1   /media/usb2 vfatnoauto,user 0   0
/dev/sdc1   /media/usb3 vfatnoauto,user 0   0

I have links to the media mount files in my user's home directory.  I
have a usb hub with four ports.  The first, sda1, is where the
usb-stick is.  The second is where I mount the digital camera.  The
third was for a palm pilot, but I don't use this anymore (it broke, so
I went back to a pen and paper day-timer, which, frankly, is more
efficient).  The fourth port is for my scanner.

I've had no problems with this set up for over a year, until now.  I am
able to open files and edit them via the command line (IE, entering
soffice file.odt from the terminal is fine, but when I click on an
icon for these files in rox filer or emelfm to open them, I get the
file is in use by another unknown user so read only message).  One
directory cannot be read, though I did read it last night, and copied
it to a new directory.  Perhaps, as someone previously suggested, the
usb-stick is either broken or beginning to break down.  It does seem to
work without an issue on the Windows machines at school, however.

As always, feedback (particularly on why mounting via the command line
gives different results from mounting via a gui file manager) is always
appreciated.

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: usb-key files locked by unknown user

2009-10-17 Thread Andrew Sackville-West
On Sat, Oct 17, 2009 at 01:06:15PM -0400, Mark Grieveson wrote:
 On Fri, 16 Oct 2009 22:22:54 -0400
 Mark Grieveson dg...@torfree.net wrote:
 
  The usb/flash drive probably has the FAT32 filesystem on it, which
  does not
  support permissions.  Is it listed in /etc/fstab?  The 'owner'
  option there
  might fix your problem.  
 
 
 I think there is some sort of issue with the mounting of it.  I did try
 adding owner to the options, but that did not work (and gave some
 other erratic results; so, I switched back.)  I use fluxbox, and I
 manually mount usb-drives and digital cameras. My set up in
 the /etc/fstab file is:
 
 /dev/sda1   /media/usb  vfatnoauto,user 0   0
 /dev/sdb1   /media/usb2 vfatnoauto,user 0   0
 /dev/sdc1   /media/usb3 vfatnoauto,user 0   0

[...] 

 I am
 able to open files and edit them via the command line (IE, entering
 soffice file.odt from the terminal is fine, but when I click on an
 icon for these files in rox filer or emelfm to open them, I get the
 file is in use by another unknown user so read only message).  

you probably need to see what errors might be generated by rox/emelfm
when you try to open these files from within them. That may give a
clue as to what is going on. YOu could look in .xsession-errors or on
the VT you launch X from, if appropriate, but your best bet is probably
to restart rox/emelfm from a terminal so that you can capture any
output generated. 

If things works as expected from the command line, then it's probably
safe to say that the mount options is not the problem. Unless rox
(haven't used it in a couple of year) is automounting the usb sticks
for you in some other location that you aren't aware of? maybe? 

[...]

 
 As always, feedback (particularly on why mounting via the command line
 gives different results from mounting via a gui file manager) is always
 appreciated.

well, this is confusing. Above you claim to be mounting the stick
manually, but here you claim to be mounting it through the file
manager? So, which is it? or is it both as suggested above? 

A


signature.asc
Description: Digital signature


Re: usb-key files locked by unknown user

2009-10-17 Thread Emanoil Kotsev
Mark Grieveson wrote:

 (even with root user).  Does anyone know what may be going on?  Or, can
 someone suggest something I can do to better diagnose the issue?  I'm
 not actually sure it has anything to do with the school presentation
 (which was given on a Windows computer -- I have used this usb-key on
 other Windows computers before without an issue).
 
 Mark

what's the partition type?

I had similar problems when not properly unmounting ntfs formatted drive and
then plugging into linux.

A ntfs repair fixes this - not sure if you can repair in linux.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: usb-key files locked by unknown user

2009-10-16 Thread Mark Grieveson
On Thu, 15 Oct 2009 16:42:08 + (UTC)
debian-user-digest-requ...@lists.debian.org wrote:

 From: green greenfreedo...@gmail.com
 To: debian-user@lists.debian.org
 Subject: Re: usb-key files locked by unknown user
 
 Mark Grieveson wrote at 2009-10-15 09:32 -0500:
  Hello.  Files on my usb-key (or flash drive, or whatever the correct
  terminology is for these things) are locked for editing by an
  unknown user (they're read only).  I'm not sure what's causing
  this, 

[snipped]

 The usb/flash drive probably has the FAT32 filesystem on it, which
 does not
 support permissions.  Is it listed in /etc/fstab?  The 'owner' option
 there
 might fix your problem.

Thanks for the suggestion.  I tried it, but I still get the locking,
with the following message, 

Document file 'yourfile.doc' is locked for editing by:

Unknown User

Open document read-only or open a copy of the document for editing.

This is similar to messages I've gotten in the past when I've opened a
file in one program and then, without closing that, opened the same
file in another program (or simply reopened the file again with the same
program) and had my computer tell me that it's being edited elsewhere,
and, thus, if I wish to open it for editing, I'll have to open a copy.

I don't get this issue on the Windows machines at school.  Also, I do
make sure that I follow the process for safely removing storage
media (or whatever the Windows phrase is for unmounting).  However,
in spite of this, I'm starting to think that it's not unmounting
properly from the Windows systems at school, and that this is
affecting it here at home.

Anyway, it's kind of annoying that I have to open copies of
everything when I'm working with the usb-stick at home (on Debian),
but have no problems when I work with it on any of the Windows
machines at school.  So, if there are any further thoughts, just send
them my way.

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: usb-key files locked by unknown user

2009-10-16 Thread Matthew Smith
Quoth Mark Grieveson at 2009-10-17 12:52...
 Thanks for the suggestion.  I tried it, but I still get the locking,
 with the following message, 
 
 Document file 'yourfile.doc' is locked for editing by:
 
 Unknown User
 
 Open document read-only or open a copy of the document for editing.

Have you tried a Google search on your error message?  I just did as
I've seen it before after someone had Word crash on them.

First result is this - which will probably get me chucked off this list
just for posting it ;-)

http://support.microsoft.com/kb/313472

Hope this helps.

Cheers

M

* Retreats to underground bunker. *

-- 
Matthew Smith
Smiffytech - Technology Consulting  Web Application Development
Business:  http://www.smiffytech.com/
Blog/personal: http://www.smiffysplace.com/
LinkedIn:  http://www.linkedin.com/in/smiffy
Skype: msmiffy
Twitter:   @smiffy


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



usb-key files locked by unknown user

2009-10-15 Thread Mark Grieveson
Hello.  Files on my usb-key (or flash drive, or whatever the correct
terminology is for these things) are locked for editing by an unknown
user (they're read only).  I'm not sure what's causing this, but it
seems to have happened after I used it to give a presentation at the
college I go to.  I had a power-point that was created by Impress, and
had an mpg file that was created by the program tovid (tovidgui) from a
youtube (flv) video I obtained from youtube.  When I tried to open
the tovid created mpg file, I received a message stating that the
system was unable to determine which program had created this file,
and, thus, would not open the file.  Since then, I've noticed that all 
files on the usb-key are read only, even though my user is the owner
(and the group) of the files.  I can't edit or even delete files from it
(even with root user).  Does anyone know what may be going on?  Or, can
someone suggest something I can do to better diagnose the issue?  I'm
not actually sure it has anything to do with the school presentation
(which was given on a Windows computer -- I have used this usb-key on
other Windows computers before without an issue).

Mark


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: usb-key files locked by unknown user

2009-10-15 Thread Jari Fredriksson



15.10.2009 17:32, Mark Grieveson kirjoitti:

Hello.  Files on my usb-key (or flash drive, or whatever the correct
terminology is for these things) are locked for editing by an unknown
user (they're read only).  I'm not sure what's causing this, but it
seems to have happened after I used it to give a presentation at the
college I go to.  I had a power-point that was created by Impress, and
had an mpg file that was created by the program tovid (tovidgui) from a
youtube (flv) video I obtained from youtube.  When I tried to open
the tovid created mpg file, I received a message stating that the
system was unable to determine which program had created this file,
and, thus, would not open the file.  Since then, I've noticed that all
files on the usb-key are read only, even though my user is the owner
(and the group) of the files.  I can't edit or even delete files from it
(even with root user).  Does anyone know what may be going on?  Or, can
someone suggest something I can do to better diagnose the issue?  I'm
not actually sure it has anything to do with the school presentation
(which was given on a Windows computer -- I have used this usb-key on
other Windows computers before without an issue).



Broken. That happens.

--
http://www.iki.fi/jarif/

An exotic journey in downtown Newark is in your future.


pgprGZluOxoxv.pgp
Description: PGP signature


Re: usb-key files locked by unknown user

2009-10-15 Thread green
Mark Grieveson wrote at 2009-10-15 09:32 -0500:
 Hello.  Files on my usb-key (or flash drive, or whatever the correct
 terminology is for these things) are locked for editing by an unknown
 user (they're read only).  I'm not sure what's causing this, but it
 seems to have happened after I used it to give a presentation at the
 college I go to.  I had a power-point that was created by Impress, and
 had an mpg file that was created by the program tovid (tovidgui) from a
 youtube (flv) video I obtained from youtube.  When I tried to open
 the tovid created mpg file, I received a message stating that the
 system was unable to determine which program had created this file,
 and, thus, would not open the file.  Since then, I've noticed that all 
 files on the usb-key are read only, even though my user is the owner
 (and the group) of the files.  I can't edit or even delete files from it
 (even with root user).  Does anyone know what may be going on?  Or, can
 someone suggest something I can do to better diagnose the issue?  I'm
 not actually sure it has anything to do with the school presentation
 (which was given on a Windows computer -- I have used this usb-key on
 other Windows computers before without an issue).

The usb/flash drive probably has the FAT32 filesystem on it, which does not 
support permissions.  Is it listed in /etc/fstab?  The 'owner' option there 
might fix your problem.


signature.asc
Description: Digital signature