You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



[SOLVED] Everything locked in thumb drive??

Author (Read 5058 times)

0 Members and 2 Guests are viewing this topic.

Re: [SOLVED] Everything locked in thumb drive??
« Reply #10 on: March 26, 2015, 03:59:15 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Reputation: 14
  • Jesus Freak
    • View Profile

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
Thank you, everyone.  The drive seems to have fixed itself.  I forgot to remove it from the case and after a couple of reboots (which I would have done anyway), it started working.  No idea what the problem is/was but I have a new thumb drive on order in case the old one is just temperamental from age.
 

Re: [SOLVED] Everything locked in thumb drive??
« Reply #9 on: March 25, 2015, 02:03:42 PM »
 

avj

  • Gold Level Poster
  • *******
  • 530
    Posts
  • Reputation: 110
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Pentium D 2.80GHz

  • MEMORY: 2Gb

  • VIDEO CARD: AMD/ATI RC410 Radeon Xpress 200/1100
It would seem that this can also be caused by an unsafe eject of the drive, or if the drive has been inserted into a computer that has a virus on it. This link may be of help.

http://sharadchhetri.com/2013/12/19/how-to-fix-read-only-usb-pen-drive-in-ubuntu/

“I have not failed. I’ve just found 10,000 ways that won’t work.” - Thomas Edison
 

Re: [SOLVED] Everything locked in thumb drive??
« Reply #8 on: March 25, 2015, 01:58:11 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1094
    Posts
  • Reputation: 325
  • Linux Lite Member
    • View Profile

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Some USB's have a way to enable write protection.  I don't have any of those myself, but sounds like yours might be one of those.  Look for some type of slider, button, or some other mechanical feature on the USB that may have gotten moved to enabled write protection by accident.  If don't see anything obvious, lookup the exact USB model number you have on the internet -- maybe instructions you find will tell you how that feature works and you can disable it again.
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: [SOLVED] Everything locked in thumb drive??
« Reply #7 on: March 25, 2015, 11:06:26 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Reputation: 14
  • Jesus Freak
    • View Profile

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
After the first command, I get this:

brw-rw---- 1 root disk 8, 81 Mar 25 10:57 /dev/sdf1  (If it matters, the "/dev/sdf1" is highlighted in yellow.  No idea what that means.)

I get absolutely nothing after the "ls -l" command.  Used the same letter case, etc as what showed up after the "lsblk" command.

EDIT: I have another thumb drive (very slow USB 2.0) that works fine so it's not the USB port.
« Last Edit: March 25, 2015, 11:09:34 AM by Monkeyman »
 

Re: [SOLVED] Everything locked in thumb drive??
« Reply #6 on: March 25, 2015, 10:54:26 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
This will list all usb drives
Code: [Select]
ls -al /dev/disk/by-path/*usb*part* 2>/dev/null | awk '{print($11)}'The output will be like this
../../sdc1
../../sdb1
Then, as Harry said, if your usb drive is sdb1 for example
Code: [Select]
ls -l /dev/sdb1
Also use lsblk to see where is the device mounted
Code: [Select]
lsblk 2>/dev/null | grep sdb1
└─sdb1   8:17   1   7,6G  0 part /media/linuxlite/U S B S
In my case '/media/linuxlite/U S B S'
So I use ls -l to check ownership and permisions
Code: [Select]
ls -l '/media/linuxlite/U S B S'
-rw-r--r-- 1 linuxlite linuxlite    199522 јул 17  2010 Photo0074.jpg
-rw-r--r-- 1 linuxlite linuxlite   1032528 јул  6  2014 Photo0349.jpg
-rw-r--r-- 1 linuxlite linuxlite   1032641 јул  6  2014 Photo0350.jpg
-rw-r--r-- 1 linuxlite linuxlite   1003211 јул  6  2014 Photo0351.jpg
 

Re: [SOLVED] Everything locked in thumb drive??
« Reply #5 on: March 25, 2015, 10:48:27 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Reputation: 14
  • Jesus Freak
    • View Profile

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
Please remind me how to find the drive letter?
 

Re: [SOLVED] Everything locked in thumb drive??
« Reply #4 on: March 25, 2015, 09:54:03 AM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Reputation: 139
    • View Profile

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
the x in sd(x) needs to be replaced with the drive letter b,c,d whatever that your pendrive shows up as.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

Re: [SOLVED] Everything locked in thumb drive??
« Reply #3 on: March 25, 2015, 09:15:36 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Reputation: 14
  • Jesus Freak
    • View Profile

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
Says there's no such file/folder.
 

Re: [SOLVED] Everything locked in thumb drive??
« Reply #2 on: March 25, 2015, 09:11:28 AM »
 

rokytnji

  • Friganeer
  • Platinum Level Poster
  • **********
  • 1255
    Posts
  • Reputation: 139
    • View Profile

  • CPU: Intel Core2 Duo U9600

  • MEMORY: 4Gb

  • VIDEO CARD: Intel Mobile 4
Code: [Select]
ls -l /dev/sdx
just to give you a idea

Code: [Select]
$ ls -l
total 1444
-rw-r--r-- 1 harry harry 458669 Nov 30 15:42 BC.JPG
-rw-r--r-- 1 harry harry 504361 Nov 30 15:41 S&R1.JPG
-rw-r--r-- 1 harry harry 509912 Nov 30 15:41 S&R2.JPG

You can cd into /dev/sdx (pendrive) and list permissions in there.

Hopefully the chown command may bail you out later but 1st you need to list permissions already given.
LL 3.6,2.8
Dell XT2 > Touchscreen Laptop
Dell 755 > Desktop
Acer 150 > Desktop
I am who I am. Your approval is not needed.
 

[SOLVED] Everything locked in thumb drive??
« Reply #1 on: March 25, 2015, 08:54:47 AM »
 

Monkeyman

  • Forum Regular
  • ***
  • 227
    Posts
  • Reputation: 14
  • Jesus Freak
    • View Profile

  • CPU: AMD Phenom II (old skool!)

  • MEMORY: 4Gb

  • VIDEO CARD: GeForce 450
I have a thumb drive that I've been using (successfully) for about a year.  I've always had read/write permissions and could obviously delete anything I wanted.  As of this morning, everything has become locked.  I am unable to delete ANYTHING.  I haven't done anything different with the thumb drive or with LL (2.2, if it matters).  It won't let me change the permissions, either.  I can't even edit and save any documents (for example, I have my job resume on the drive).

Any suggestions?  I use this daily and I need to be able to delete old files from it.
« Last Edit: March 27, 2015, 09:55:40 AM by Scott(0) »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section