On Wed, 04 Sep 2002, Martijn van Oosterhout wrote:
> Ofcourse, it could just do system("mkdir -p /var/cache/whatever/dir/it/is")
> everytime it wants to open a file but that would be inefficient.
If it has the permissions to do so. Not everything runs as root and can
create directories belowe /va
Duncan Findlay <[EMAIL PROTECTED]> wrote:
>
> True, the FHS does not specifically say that directories have to be
> recreated, but I would consider it a bug if they aren't. Anyone agree?
I think it would be much better if you did
find /var/cache ! -type d -print0 | xargs -0r rm -f
The complicat
On Tue, Sep 03, 2002 at 10:34:23PM -0400, Duncan Findlay wrote:
> /etc/cron.daily/man-db:
> fopen: No such file or directory
> mandb: can't create index cache /var/cache/man/1075: No such file or
> directory
> mandb: can't chmod /var/cache/man/index.bt: No such file or directory
> mandb: warning: c
On Wed, Sep 04, 2002 at 01:02:33PM +1000, Martijn van Oosterhout wrote:
> I think the key word is "files". As you say it doesn't talk about about
> directories, for good reason since it's an awful lot of work. you'd have to
> replace:
I think that FHS would transmit the content that "stuff" in /va
On Tue, Sep 03, 2002 at 10:34:23PM -0400, Duncan Findlay wrote:
> I deleted /var/cache/* today to free up some space on my /var
> partition. However, instead of applications re-creating the files as I
> expected, I recieved a bunch of error messages.
> apt/apt-get refused to do anything until I ma
Duncan Findlay wrote:
> True, the FHS does not specifically say that directories have to be
> recreated, but I would consider it a bug if they aren't. Anyone agree?
I think it would be at best a feature request, but I would like to see
that feature implemented, nontheless..
--
see shy jo
pgpDT
I deleted /var/cache/* today to free up some space on my /var
partition. However, instead of applications re-creating the files as I
expected, I recieved a bunch of error messages.
apt/apt-get refused to do anything until I manually created the
directory /var/cache/apt/archives/partial
I also got
7 matches
Mail list logo