osdir.com
mailing list archive

Subject: Re: fopen error number?? - msg#00102

List: linux.newbie

Date: Prev Next Index Thread: Prev Next Index
On Fri, Jun 21, 2002 at 02:19:10PM -0400, Hal MacArgle wrote:
> Greetings: Just installed Slack8.0 (2.2.19) on a fresh HD, restoring
> backed up user files only from original working HD, that was Slack7.1
> (2.2.16). Simple setup using A AP and N groups only..
>
> Everything working fine except one that baffles me:
>
> Using Mutt and Metamail, default distribution packages, I can't save
> a jpeg attachment to a file, in order to view it.. The report is:
> "fopen: Permission denied (errno=13"
>
> I checked and compared the file permissions on all the files I could
> think of, plus checked for the libraries, and see no difference
> between this machine and another similar machine that saves the files
> correctly... I have some books on C but I can't find what errno 13
> is.

[anteater@neutrino anteater]$ grep 13 /usr/include/asm/errno.h
#define EACCES 13 /* Permission denied */
#define EHOSTUNREACH 113 /* No route to host */

Check for *directory* permissions, too.

Elias

--
http://gnewtellium.sourceforge.net MP3 is not a crime.
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs



Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: C compiler cannot create executables

On Fri, Jun 21, 2002 at 04:59:27PM +0800, Peter wrote: > Hi, > trying to configure a program I get the following message and .configure > stops. > > checking for C compiler default output... configure: error: C compiler cannot > create executables > > What has to be done to correct this? Do this: % echo "int main(void) { return 1; }" > foo.c && gcc foo.c -o foo ; ./foo If you get any errors check for your gcc installation. Elias -- http://gnewtellium.sourceforge.net MP3 is not a crime. - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs

Next Message by Date: click to view message preview

Re: fopen error number??

On Sat, Jun 22, 2002 at 11:13:22AM +0300, Elias Athanasopoulos wrote: > On Fri, Jun 21, 2002 at 02:19:10PM -0400, Hal MacArgle wrote: > > Greetings: Just installed Slack8.0 (2.2.19) on a fresh HD, restoring > > backed up user files only from original working HD, that was Slack7.1 > > (2.2.16). Simple setup using A AP and N groups only.. > > > > Everything working fine except one that baffles me: > > > > Using Mutt and Metamail, default distribution packages, I can't save > > a jpeg attachment to a file, in order to view it.. The report is: > > "fopen: Permission denied (errno=13" > > > > I checked and compared the file permissions on all the files I could > > think of, plus checked for the libraries, and see no difference > > between this machine and another similar machine that saves the files > > correctly... I have some books on C but I can't find what errno 13 > > is. > > [anteater@neutrino anteater]$ grep 13 /usr/include/asm/errno.h > #define EACCES 13 /* Permission denied */ > #define EHOSTUNREACH 113 /* No route to host */ > > Check for *directory* permissions, too. > > Elias > Greetings and Appreciate!!.. Problem solved and I learned a lot more in the process.. I double checked all the directory permissions but neglected to check the ownership of the mail file.. Wonder why it worked with regular mail but metamail balked? A little knowledge is a dangerous thing??? Somehow that got by me - so we're now in business as usual.. Thanks for the prodding. Cheers, Hal - in Terra Alta, WV - Slackware GNU/Linux 8.0 (2.4.13) haltec@xxxxxxxxxx | w8mch@xxxxxxxxxxxx A M$ free environment . - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs

Previous Message by Thread: click to view message preview

fopen error number??

Greetings: Just installed Slack8.0 (2.2.19) on a fresh HD, restoring backed up user files only from original working HD, that was Slack7.1 (2.2.16). Simple setup using A AP and N groups only.. Everything working fine except one that baffles me: Using Mutt and Metamail, default distribution packages, I can't save a jpeg attachment to a file, in order to view it.. The report is: "fopen: Permission denied (errno=13" I checked and compared the file permissions on all the files I could think of, plus checked for the libraries, and see no difference between this machine and another similar machine that saves the files correctly... I have some books on C but I can't find what errno 13 is. I had the original senders re-send the attachments to two different email addresses and the problem follows the above mentioned machine only.. Have never experienced this before.. Any suggestions? TIA.. Hal - in Terra Alta, WV - Slackware GNU/Linux 8.0 (2.4.13) haltec@xxxxxxxxxx | w8mch@xxxxxxxxxxxx A M$ free environment . - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs

Next Message by Thread: click to view message preview

Re: fopen error number??

On Sat, Jun 22, 2002 at 11:13:22AM +0300, Elias Athanasopoulos wrote: > On Fri, Jun 21, 2002 at 02:19:10PM -0400, Hal MacArgle wrote: > > Greetings: Just installed Slack8.0 (2.2.19) on a fresh HD, restoring > > backed up user files only from original working HD, that was Slack7.1 > > (2.2.16). Simple setup using A AP and N groups only.. > > > > Everything working fine except one that baffles me: > > > > Using Mutt and Metamail, default distribution packages, I can't save > > a jpeg attachment to a file, in order to view it.. The report is: > > "fopen: Permission denied (errno=13" > > > > I checked and compared the file permissions on all the files I could > > think of, plus checked for the libraries, and see no difference > > between this machine and another similar machine that saves the files > > correctly... I have some books on C but I can't find what errno 13 > > is. > > [anteater@neutrino anteater]$ grep 13 /usr/include/asm/errno.h > #define EACCES 13 /* Permission denied */ > #define EHOSTUNREACH 113 /* No route to host */ > > Check for *directory* permissions, too. > > Elias > Greetings and Appreciate!!.. Problem solved and I learned a lot more in the process.. I double checked all the directory permissions but neglected to check the ownership of the mail file.. Wonder why it worked with regular mail but metamail balked? A little knowledge is a dangerous thing??? Somehow that got by me - so we're now in business as usual.. Thanks for the prodding. Cheers, Hal - in Terra Alta, WV - Slackware GNU/Linux 8.0 (2.4.13) haltec@xxxxxxxxxx | w8mch@xxxxxxxxxxxx A M$ free environment . - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by