Do not have permissions when saving picture

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
iampuzzled
Level 1
Level 1
Posts: 32
Joined: Sat Sep 12, 2015 9:57 am

Do not have permissions when saving picture

Post by iampuzzled »

If I upload a picture to my lappie and save it in Linux, when I next open it and try to 'save as' I get a message saying I do not have permissions for the task. I also notice when I view some pictures in my Linux Picture directory, some of them have a little padlock icon on them. These are the ones I cannot re save.

How can I fix this and stop the padlock appearing in the first place? TIA.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Do not have permissions when saving picture

Post by WharfRat »

Can you paste back a listing of a locked picture with ls -lh thepicture.jpg and ls -lhd ../*
User avatar
sdibaja
Level 5
Level 5
Posts: 899
Joined: Sun May 08, 2011 12:57 pm
Location: Baja California, Mexico

Re: Do not have permissions when saving picture

Post by sdibaja »

good idea warfrat. that will help see how to unlock the files.

@iampuzzled you should tell us what method you are using to upload the pictures.
It seems that you are probably acting as "root" when you are doing it, and only "root" has permission to mess with those files.

Are they coming from a camera or a phone?
What program are you using to upload?
I suppose you are using Cinnamon, that could make a difference too.
Peter
Mate desktop https://wiki.debian.org/MATE
Debian GNU/Linux operating system: https://www.debian.org/download
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Do not have permissions when saving picture

Post by Cosmo. »

iampuzzled wrote: Sat Apr 21, 2018 8:30 am I also notice when I view some pictures in my Linux Picture directory
I assume you mean the folder in your home. Time to check the ownership of your files (not only in the Picture folder:
Mark the following command and press ctrl-c

Code: Select all

find $HOME ! -user $USER -type f
open a terminal and press ctrl-shift-V
Mark the complete result inclusive the command with the mouse and press ctrl-shift-C
In the forum click the Code-button (looks like </>) above the text edit box, than press ctrl-v.

Report in case, that there is no output.
iampuzzled
Level 1
Level 1
Posts: 32
Joined: Sat Sep 12, 2015 9:57 am

Re: Do not have permissions when saving picture

Post by iampuzzled »

Cosmo. wrote: Sat Apr 21, 2018 9:54 am
iampuzzled wrote: Sat Apr 21, 2018 8:30 am I also notice when I view some pictures in my Linux Picture directory
I assume you mean the folder in your home. Time to check the ownership of your files (not only in the Picture folder:
Mark the following command and press ctrl-c

Code: Select all

find $HOME ! -user $USER -type f
open a terminal and press ctrl-shift-V
Mark the complete result inclusive the command with the mouse and press ctrl-shift-C
In the forum click the Code-button (looks like </>) above the text edit box, than press ctrl-v.

Report in case, that there is no output.
Sorry but that is just gobble degook to a user like me!

This is the message I get when trying to re save an existing picture or pdf. Pictures are taken on a camera, mailed to self, opened then 'saved as.' PDF is just downloaded then saved. Opened, re sized and try to save changes and same message displays.
permissions.png
Sir Charles

Re: Do not have permissions when saving picture

Post by Sir Charles »

Open a terminal and copy-paste

Code: Select all

find $HOME ! -user $USER -type f
into it and press enter. If you get any output, copy-paste the output back here.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: Do not have permissions when saving picture

Post by Cosmo. »

iampuzzled wrote: Wed Apr 25, 2018 7:39 am Sorry but that is just gobble degook to a user like me!
What exactly? My advice has been used in the past by 100 + users. I intentionally do not use any special terms, but only things like press this key-combination or that, open a terminal, click a button. I am always ready to enhance my advice, but you must tell me, what you did not understand.
iampuzzled
Level 1
Level 1
Posts: 32
Joined: Sat Sep 12, 2015 9:57 am

Re: Do not have permissions when saving picture

Post by iampuzzled »

terminal.png
Marziano wrote: Wed Apr 25, 2018 7:46 am Open a terminal and copy-paste

Code: Select all

find $HOME ! -user $USER -type f
into it and press enter. If you get any output, copy-paste the output back here.
Sorry, that does not work?
md419
Level 2
Level 2
Posts: 93
Joined: Thu Sep 22, 2011 2:34 pm

Re: Do not have permissions when saving picture

Post by md419 »

Try it like this ...
screenshot.png

Code: Select all

marc@Onyx ~ $ find $HOME ! -user $USER -type f
find: ‘/home/marc/.cache/dconf’: Permission denied
/home/marc/.config/gedit/accels
find: ‘/home/marc/.gvfs’: Permission denied
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Do not have permissions when saving picture

Post by Flemur »

iampuzzled wrote: Sat May 05, 2018 1:15 pm
and press enter. If you get any output, copy-paste the output back here.
Sorry, that does not work?
Press "enter".

Code: Select all

$ find $HOME ! -user $USER -type f
/home/username/bin/root_owns_me
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
iampuzzled
Level 1
Level 1
Posts: 32
Joined: Sat Sep 12, 2015 9:57 am

Re: Do not have permissions when saving picture

Post by iampuzzled »

Sorry, those suggestions do not work. Here are the screenshots after the argument is typed in and <enter> pressed.
Screenshot 1.png
Screenshot 2.png
Locked

Return to “Beginner Questions”