[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Interesting question on nfs permissions



That's a cool idea that I didn't think of. I was thinking of piping the 
output of mkisofs onto cdrecord directly:

mkisofs <options> | cdrecord <options>

instead. Since I have a bunch of "standard" mkisofs aliases that I use for 
backing up various chunks of data, my mkisofs command rarely fail so I won't 
waste too many blank cd's that way...

neal

On Saturday 08 June 2002 18:50, Bob Proulx wrote:
> > The reason is, obviously, that cdrecord is setuid root, and so the
> > attempt to open the iso file on the nfs share appeared to come from
> > root, and with root_squash on the nfs export, it couldn't get at the
> > file.
>
> [...]
>
> > Any thoughts or suggestions?
>
> How about this?  Use standard input for cdrecord.  One of the examples
> in the CD-Writing-HOWTO show cdrecord taking the input from a pipe
> from mkisofs for a combined mkisofs/cdrecord solution.  But it tells
> me that cdrecord will read from stdin if no file is supplied.  So even
> though I have not tried this I believe this should work.
>
>   sudo cdrecord -v dev=0,1,0 speed=2 < /net/host/home/user/file.iso
>
> The shell will do the I/O redirection and open the file before
> starting up the command.  The file descriptor is just passed along and
> becomes stdin for the cdrecord progam.  No need to change anything.
>
> Bob


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: