Author Topic: Locked files on USB sticks in Linux Mint 19.3 [SOLVED]  (Read 8826 times)

0 Members and 1 Guest are viewing this topic.

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 1
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #45 on: January 21, 2021, 02:36:31 pm »
Keith I'm sorry I keep doing silly mistakes. What has happened now is the padlock icons have disappeared and I have to open up each individual folder and file to check. Its the 'doc' and 'xls' files that are opening as 'read only' so its going to be a long job.

I don't fully understand your last message and I'm worried about the amount of your time I'm taking up so is there another way we could use?

Goalie

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1523
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #46 on: January 21, 2021, 03:25:35 pm »
Don't worry, Goalie. 

Well, that's good that your padlocks have gone! And at least you can read your files.  Progress!

Your list of directories (folders) didn't show any xls or doc files so you are clearly going into one of your folders for them.  I presume you are using your file manager to do this.  So let's use the file manager - even though you can't copy/post any results. 
1. In your file manager, select one of your locked files
2. right-click on it
3. select Properties
4. in the box that appears there should be some tabs across the top - select "Permissions".
You should see something like my attachment.

If all is OK so far, check that the owner (you!) has read & write access and report back.
If you get stuck anywhere come back here.

Keith



« Last Edit: January 21, 2021, 03:29:37 pm by Keith »

The Linux Community Forum

Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #46 on: January 21, 2021, 03:25:35 pm »

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 1
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #47 on: January 21, 2021, 03:35:37 pm »
Keith.

 I've opened the 'locked' files and the permissions are as per your attachment except of course it has my name not yours.

Goalie

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1523
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #48 on: January 21, 2021, 03:37:32 pm »
So can you open and modify the files that were locked before?

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 1
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #49 on: January 21, 2021, 03:54:32 pm »
Keith

Sorry for delay thought I'd better re-check all files formats within the main folders and find that they all open in 'read only' format.

Goalie


The Linux Community Forum

Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #49 on: January 21, 2021, 03:54:32 pm »

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1523
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #50 on: January 21, 2021, 03:59:16 pm »
If you look at the file permissions window for a file again you should see at the right end of the "Access" box a small down-pointing arrow. 
Click on that arrow and in the window that opens, choose "Read and write".
Then click "Close" at bottom right. 
Now open and try to modify the file.

Keith

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 1
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #51 on: January 21, 2021, 04:19:57 pm »
Tried this no success command rejected see attachment.
Goalie   

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1523
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #52 on: January 21, 2021, 04:29:28 pm »
I thought as much, but it was worth a try.  We might be able to open the folder as "Root" and change the permissions.  And it's probably easier to do that in the file manager (I wish I had listened to Wishbone!)

First of all I need to know which folder that file is in.  Is it one of these:

drwxr-xr-x 38 kevin kevin 32768 Jan  1 12:43 '1 - Mint 19.3 HOME folder. 30 Dec 2020'
d?????????  ? ?     ?         ?            ? '2 - MINT 19.3  HOME FOLDER - Jan 18th 2021'
drwxr-xr-x 11 kevin kevin 32768 Jan  7 16:43 '3 - SECURITY CODES March 2015 to -----[334kb]'
drwxr-xr-x  2 kevin kevin 32768 Apr 26  2019 'ANDREWS VIDEOS [1.5GB]'
drwxr-xr-x  2 kevin kevin 32768 Dec 30 10:37  Downloads
drwxr-xr-x  2 kevin kevin 32768 Jan  1 12:44 'FIREFOX BOOKMARKS- Oct 2020'
drwxr-xr-x 23 kevin kevin 32768 Jan  1 12:56 'Laptop HOME FOLDER -Oct  2020'
drwxr-xr-x  6 kevin kevin 32768 Jul 22  2018 'LINUX MINT !8 SONJA SETTINGS 22 July 2018'
drwxr-xr-x  2 kevin kevin 32768 Apr 26  2019 'Lola, Billy & Ben-ED- 27 Oct-Nov 1.2010 [1.7GB]'
drwxr-xr-x  2 kevin kevin 32768 Jul 22  2017 'Manchester May 2017 [87mb]'
drwxr-xr-x  6 kevin kevin 32768 Sep  1  2019 'Peru Holiday Trip PHOTOS  & VIDEOS-March-April 2018 (14.7GB)'
drwxr-xr-x  2 kevin kevin 32768 Jan 18  2020 'System Volume Information'

If so please tell me which one. 

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 1
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #53 on: January 21, 2021, 06:03:34 pm »
Keith do you mind if I break off to have tea.

In the meantime I'm not sure what you mean by :-  We might be able to open the folder as "Root" and change the permissions.  And it's probably easier to do that in the file manager (I wish I had listened to Wishbone!)
First of all I need to know which folder that file is in.  Is it one of these:


Are you asking where Root is or where file manager is ? The folders shown are all on the USB,  the file manager (which I think is the HOME folder on my desktop) if it isnt' could you tell me where it is. I backup my HOME folder on USB for when I consider upgrading MINT just in case I delete folders by mistake. etc.  I'll be back around 7ish.

Goalie
P.S. I bet you wish you hadn't got involved with me on this.


The Linux Community Forum

Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #53 on: January 21, 2021, 06:03:34 pm »

Offline wishbone

  • Jr. Member
  • **
  • Posts: 87
  • Karma: 5
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #54 on: January 21, 2021, 08:13:32 pm »
Keith do you mind if I break off to have tea.

In the meantime I'm not sure what you mean by :-  We might be able to open the folder as "Root" and change the permissions.  And it's probably easier to do that in the file manager (I wish I had listened to Wishbone!)
First of all I need to know which folder that file is in.  Is it one of these:


Are you asking where Root is or where file manager is ? The folders shown are all on the USB,  the file manager (which I think is the HOME folder on my desktop) if it isnt' could you tell me where it is. I backup my HOME folder on USB for when I consider upgrading MINT just in case I delete folders by mistake. etc.  I'll be back around 7ish.

Goalie
P.S. I bet you wish you hadn't got involved with me on this.



Hi Goalie,

The file manager in my system is nemo which I think is Mint`s as well.
Code: [Select]
https://imgur.com/a/iQ3ENnR

If you right click on the folder there should be the option to "open as root" select that, you will be required to input your password then the root window will open and you should be able to select the file you need.

I should say that it`s not guaranteed to work, but it`s worth a try.

Tony

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 1
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #55 on: January 22, 2021, 09:35:40 am »
Hi Tony.

Thanks for trying to help, I've got the HOME(file manager) opened as Root and got to see the files. What do I do next?

Goalie

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1523
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #56 on: January 22, 2021, 12:10:28 pm »
If Tony doesn't mind me interrupting.....

1. Look for a file that you know is Read-only.
2. Right-click on it.
3. Select "Properties".
4. In the window that appears, select the "Permissions" tab.
5. Look at the box opposite "Access" (just your access): Does it say "Read only"?
6. If so, then click on that box and select "Read and write".
7. Click "Close".
8. Check that you can write to (modify) the file.

Let us know how it went.
Keith

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 1
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #57 on: January 22, 2021, 01:48:38 pm »
Hi Keith.

I've done as your instructions but when I tried to change from 'read only' to 'read & write' the dialogue box appears as per my message "Reply #51 Yesterday at 04:19.57p.m stopping the change. So obviously wasn't able to write or modify the chosen file.

How do I change back from Root to normal in the file manager if we have to try something else.

Goalie.

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1523
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #58 on: January 22, 2021, 02:02:28 pm »
....and this was after you had opened as Root the folder containing the file?

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 97
  • Karma: 1
  • I've just joined!
    • View Profile
    • Awards
Re: Locked files on USB sticks in Linux Mint 19.3
« Reply #59 on: January 22, 2021, 02:38:02 pm »
Hi Keith.
I've got confused and may have done something badly wrong. I got to position as shown on attachment but can't remember exactly what commands I used to get there. However no matter which of the files I try to change to 'read & write' they get blocked.

Now I'm not sure how to get back to how it was before I got to Root if indeed I have in fact got to the Root.  If you can get me back to the normal setting for file manager I'd appreciate that.

I'm getting more confused and its not fair on you so maybe we call it a day

Goalie.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal