Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.apps > #460

Re: fopen() of a read-only file for writing?

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!border3.nntp.dca.giganews.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date Tue, 17 Apr 2012 01:36:12 -0500
From "Joe Shead" <Joe@SheadProgramming.com>
Newsgroups comp.os.linux.development.apps
References <s5KdnY85luiJChHSnZ2dnUVZ_uGdnZ2d@earthlink.com> <jmiu3v$is7$1@speranza.aioe.org>
Subject Re: fopen() of a read-only file for writing?
Date Tue, 17 Apr 2012 01:36:28 -0600
X-Priority 3
X-MSMail-Priority Normal
X-Newsreader Microsoft Outlook Express 6.00.2800.2001
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2800.2001
Message-ID <BdednSBuUrbAkhDSnZ2dnUVZ_oydnZ2d@earthlink.com> (permalink)
Lines 28
X-Usenet-Provider http://www.giganews.com
NNTP-Posting-Host 4.230.120.254
X-Trace sv3-v9vEqmx5OFQUS7id5vLvMP7Z1M4YjWD3HbB1yUkexvZ7f/C9cWADtG4P6pr3TgDbiL9q2mkXaKDT/PQ!XLCyhSCjsqwtNND5jhFEeTZJ4ZKImmn1sYBqlG+HwEKMu1ub665GEYcfCE48KUP2KFu//vI5L+ix!6FeIhsmX2RiP+uoy4saLqpj3AOeTJr4SWQ==
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 1841
Xref csiph.com comp.os.linux.development.apps:460

Show key headers only | View raw


Ok, thanks.

I'll test that soon, with a less powerful user, but it's too late right now.

Joseph Shead

"Alan Curry" <pacman@kosh.dhis.org> wrote in message
news:jmiu3v$is7$1@speranza.aioe.org...
> In article <s5KdnY85luiJChHSnZ2dnUVZ_uGdnZ2d@earthlink.com>,
> Joe Shead <Joe@SheadProgramming.com> wrote:
> >
> >Hi,
> >
> >I have a file that has no write permissions on it, called readonly.txt.
> >I am logged on as root.
>
> Read and write permissions mean nothing to root.
>
> Execute permission does matter though. I suspect that's a holdover from
the
> time when it was common for $PATH to contain "." so there was more
potential
> to accidentally execute things.
>
> -- 
> Alan Curry

Back to comp.os.linux.development.apps | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

fopen() of a read-only file for writing? "Joe Shead" <Joe@SheadProgramming.com> - 2012-04-16 17:03 -0600
  Re: fopen() of a read-only file for writing? pacman@kosh.dhis.org (Alan Curry) - 2012-04-17 05:12 +0000
    Re: fopen() of a read-only file for writing? "Joe Shead" <Joe@SheadProgramming.com> - 2012-04-17 01:36 -0600
    Re: fopen() of a read-only file for writing? "Joe Shead" <Joe@SheadProgramming.com> - 2012-04-18 22:40 -0600
      Re: fopen() of a read-only file for writing? Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-19 08:57 +0100
      Re: fopen() of a read-only file for writing? Rainer Weikusat <rweikusat@mssgmbh.com> - 2012-04-19 14:18 +0100
      Re: fopen() of a read-only file for writing? Grant Edwards <invalid@invalid.invalid> - 2012-04-19 14:16 +0000
      Re: fopen() of a read-only file for writing? "Joe Shead" <Joe@SheadProgramming.com> - 2012-04-20 19:10 -0600
        Re: fopen() of a read-only file for writing? Richard Kettlewell <rjk@greenend.org.uk> - 2012-04-21 10:20 +0100
          Re: fopen() of a read-only file for writing? "Joe Shead" <Joe@SheadProgramming.com> - 2012-04-22 00:07 -0600
          Re: fopen() of a read-only file for writing? "Joe Shead" <Joe@SheadProgramming.com> - 2012-04-23 15:24 -0600

csiph-web