Re: scsi support compiled into kernel insufficient to mount / from a scsi disk

2007-05-30 Thread Nick Rout
Rohit Grover wrote: Hi, Could someone please elucidate on why the linux (2.6.21-3) won't be able to mount the root filesytem from a scsi disk at boot time even when scsi support has been compiled into the kernel? Using an initrd packaged with scsi modules works fine in this case. thanks,

Feeling particularly stupid - secure updating web doc

2007-05-30 Thread Nick Rout
I want to have a script updating a web page. Basically it downloads a podcast file, amends some tags and saves it to a directory in apache's htdocs, (and from there I have other podcast reading software read it.) It needs to be run via cron. I don't want to run the script as root, but the

Re: Feeling particularly stupid - secure updating web doc

2007-05-30 Thread Andrew Errington
On Wed, 30 May 2007 22:00, you wrote: I want to have a script updating a web page. Basically it downloads a podcast file, amends some tags and saves it to a directory in apache's htdocs, (and from there I have other podcast reading software read it.) It needs to be run via cron. I don't want

Re: Feeling particularly stupid - secure updating web doc

2007-05-30 Thread Nick Rout
Andrew Errington wrote: On Wed, 30 May 2007 22:00, you wrote: I want to have a script updating a web page. Basically it downloads a podcast file, amends some tags and saves it to a directory in apache's htdocs, (and from there I have other podcast reading software read it.) It needs to be

Re: scsi support compiled into kernel insufficient to mount / from a scsi disk

2007-05-30 Thread Volker Kuhlmann
Could someone please elucidate on why the linux (2.6.21-3) won't be Linux here is just the kernel. able to mount the root filesytem from a scsi disk at boot time even when scsi support has been compiled into the kernel? Using an initrd packaged with scsi modules works fine in this case. In

Unix permissions Re: Feeling particularly stupid - secure updating web doc

2007-05-30 Thread Volker Kuhlmann
I seem to be completely clueless about how to get the script to be able to update in the htdocs hierarchy, it could be the headache i have, or the headache could be caused by thinking about it. I can only come up with either changing ownership of directories inside

Re: scsi support compiled into kernel insufficient to mount / from a scsi disk

2007-05-30 Thread Rohit Grover
Hi, Also, SCSI support being compiled into the kernel only means that the kernel is sufficiently capable to load further SCSI-related modules. This typically also includes e.g. basic SCSI CDROM support. It would be nice to rid myself of the need to have to generate an initrd for every new

Re: scsi support compiled into kernel insufficient to mount / from a scsi disk

2007-05-30 Thread Volker Kuhlmann
On Wed 30 May 2007 23:00:20 NZST +1200, Rohit Grover wrote: It would be nice to rid myself of the need to have to generate an initrd for every new version of the kernel. Irrelevant, as that initrd is generated automatically by a script whenever the kernel is updated by the vendor. There must

Re: Feeling particularly stupid - secure updating web doc

2007-05-30 Thread Steve Holdoway
On Wed, 30 May 2007 22:00:27 +1200 Nick Rout [EMAIL PROTECTED] wrote: I want to have a script updating a web page. Basically it downloads a podcast file, amends some tags and saves it to a directory in apache's htdocs, (and from there I have other podcast reading software read it.) It

Re: Feeling particularly stupid - secure updating web doc

2007-05-30 Thread Steve Holdoway
On Thu, 31 May 2007 06:00:11 +1200 Steve Holdoway [EMAIL PROTECTED] wrote: On Wed, 30 May 2007 22:00:27 +1200 Nick Rout [EMAIL PROTECTED] wrote: I want to have a script updating a web page. Basically it downloads a podcast file, amends some tags and saves it to a directory in apache's

excluding hidden files in tar

2007-05-30 Thread Roger Searle
Hi, I have some backup scripts for (individually) copying data, email, home, making use of --exclude lines to ignore certain folders I don't want to copy. Generally works really well except that hidden folders specified in --exclude are ignored. For example --exclude /home/roger/dvd \

Re: excluding hidden files in tar

2007-05-30 Thread Ross Drummond
On Thu, 31 May 2007 10:41, Roger Searle wrote: snip --exclude /home/roger/dvd \ --exclude /home/roger/software \ --exclude /home/roger/.mozilla/ \ --exclude /home/roger/.mozilla-thunderbird/ \ Cheers, Roger As you are using the back-slash to escape the end of line character it should not

Re: excluding hidden files in tar

2007-05-30 Thread Volker Kuhlmann
On Thu 31 May 2007 11:18:29 NZST +1200, Ross Drummond wrote: --exclude /home/roger/dvd \ --exclude /home/roger/software \ --exclude /home/roger/.mozilla/ \ --exclude /home/roger/.mozilla-thunderbird/ \ The problem arises from the trailing slash on the paths, not from the leading period.

Re: scsi support compiled into kernel insufficient to mount / from a scsi disk

2007-05-30 Thread Christopher Sawtell
Quoting Rohit Grover [EMAIL PROTECTED]: Hi, Could someone please elucidate on why the linux (2.6.21-3) won't be able to mount the root filesytem from a scsi disk at boot time even when scsi support has been compiled into the kernel? Using an initrd packaged with scsi modules works fine in

Re: scsi support compiled into kernel insufficient to mount / from a scsi disk

2007-05-30 Thread Nick Rout
On Thu, May 31, 2007 12:45 pm, Christopher Sawtell wrote: Quoting Rohit Grover [EMAIL PROTECTED]: Hi, Could someone please elucidate on why the linux (2.6.21-3) won't be able to mount the root filesytem from a scsi disk at boot time even when scsi support has been compiled into the kernel?

Re: excluding hidden files in tar

2007-05-30 Thread Christopher Sawtell
Quoting Roger Searle [EMAIL PROTECTED]: How can I get tar to honour --exclude with hidden folders? Can anyone point me in the right direction? aside from man tar or info tar or google which I have already tried. You have either just discovered a bug in tar or its manual page. I couldn't get

Re: excluding hidden files in tar

2007-05-30 Thread Ross Drummond
On Thu, 31 May 2007 13:37, Christopher Sawtell wrote: Quoting Roger Searle [EMAIL PROTECTED]: How can I get tar to honour --exclude with hidden folders? Can anyone point me in the right direction? aside from man tar or info tar or google which I have already tried. You have either just

Re: excluding hidden files in tar

2007-05-30 Thread Roger Searle
thanks to everyone who replied. the answer that was offered by our old friend criggie off list (new work policy) was Look at --exclude-from FILENAME and have a list of all the paths you want to skip in FILENAME which is easy and works exactly as I am wanting. to answer ross's post below,

Re: scsi support compiled into kernel insufficient to mount / from a scsi disk

2007-05-30 Thread Rohit Grover
Hi All, Putting aside the initrd/compile in argument, it seems that something is either missing from Rhit's kernel or from his initrd. Its likely to be the low level scsi driver for his chipset. That must be. I must have not taken care to compile in the driver for the chipset into the kernel.