LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2004, 09:24 PM   #1
arsongt
LQ Newbie
 
Registered: Oct 2003
Posts: 11

Rep: Reputation: 0
Unhappy GIMP save problem


Iīm really new at this so i apologize if the question is dumb. I tried to change the size of a .png using GIMP but when I try to save the darn thing i get a error "couldnīt create file". what is wrong? Iīve heard something about permissions limiting certain action. could it be that?
 
Old 03-05-2004, 10:02 PM   #2
questionasker
Member
 
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359

Rep: Reputation: 30
yes, it could. if you made the file first as root, and now are trying to save over it as a reg user, youll get permissions error. (or vice versa)
it could also be taht you ran out of space on your partition
 
Old 03-05-2004, 10:03 PM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Re: GIMP save problem

Quote:
Originally posted by arsongt
Iīm really new at this so i apologize if the question is dumb. I tried to change the size of a .png using GIMP but when I try to save the darn thing i get a error "couldnīt create file". what is wrong? Iīve heard something about permissions limiting certain action. could it be that?
From a basic Linux install you'll only have permissions as a normal
user to save to /home/<username> which is great for the purpose
of security.

So, assuming you have /home/arsongt as your directory, then save
the photo there. If you want to move it somewhere else, either
create a new directory, or login to a console as root and move it
with the command ->
~# mv filename /new/location/you/choose

What version of GIMP are you using? Can you print with it, and if
so, what service do you use to print? I'm running GIMP 1.3.23 and
I can't print with it at all.
 
Old 03-05-2004, 11:51 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,802

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: GIMP save problem

Quote:
I tried to change the size of a .png using GIMP but when I try to save the darn thing i get a error "couldn+/7Q-t create file". what is wrong? I+/7Q-ve heard something about permissions limiting certain action. could it be that?
A couple of things might be happening.

First, if you didn't create the PNG file (i.e., you are not the owner) you might not have write permissions on the file. No write permissions and you cannot overwrite it. Something to try: when you save the file, give it a new name. For example, if the original image was "image.png", save it as "bigger-image.png".

If you still cannot save the file even when giving it a new name, the directory where you are attempting to save the file does have permissions that allow you to write to it. Something to try: when you save the file, specify a different directory to save it in. Unless your system has been configured very strangely, you should be able to save it it "/tmp". Everyone on the system should have write permissions on "/tmp".

Since it appears that the whole permissions thing is new to you, here's my nickel tour of UNIX/Linux permssions.

In general, Linux (like UNIX) categorizes access to resources (files, directories, devices, etc.) according to three types: user, group, and world. If you created the file, you own it, and you access the file according to the permissions for the user. Other users on the system can be lumped into a groups according to, say, functions they perform on the system, different development teams, etc. Users who are members of the group that owns the file would have the access specified by the file's group permissions. Users that are neither the owner nor in owner group are allowed to access the file according to the "other" permissions. You can see the different permissions on the file by entering a command like "ls -l image.png". You'll see something like:

Code:
-rw-r-----  1    joe   devel    12345    Mar  5 2004  image.png
which means that the file is owned by the user "joe", the "devel" group, is 12,345 bytes in size, etc., etc. The stuff we're concerned with is that bit at the beginning of the output. It represents the permissions on that image file. Regular files will have a leading "-" in this string; directories will have a "d" in this location (there are other types of objects on the system and they'll have different characters in that position). Then there are three characters that represent the "user" permissions, three more that represent the "group" permissions, and the last three are the "other" permissions. In my silly example, "joe" can read or write this file ("rw-"), members of the "devel" group may only read it ("r--"), and everyone else on the system is not even allowed to read the file ("---"). If this was a program, it would normally have "execute" permissions set which would be seen as an "x" in that string so you might see some files having permissions like: "-rwxr-xr--".

Read up on the "ls" command and the "chmod" command to learn more about the various permission settings and how to change them.

Have fun,

Rick
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why cant I save a pic after changing it in gimp, permissions problem? M$ISBS Linux - Software 3 08-08-2005 12:27 AM
GIMP doesn't save Gamma changes in .PNG format pujolasdf Linux - Software 0 02-16-2005 03:58 PM
Gimp 2.2.2 file open/save dialogues mbeattie74 Linux - Software 10 01-18-2005 07:00 PM
Gimp xpm plugin cannot save file jonr Linux - Software 14 11-30-2004 03:05 PM
gimp cant save xpm doralsoral Linux - Software 2 11-21-2004 04:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration