ts-7000
[Top] [All Lists]

[ts-7000] Re: Help apache server problem

To:
Subject: [ts-7000] Re: Help apache server problem
From: "brianvandergaast" <>
Date: Sun, 10 Feb 2008 00:16:20 -0000
I have been experimenting with suid and am still having permission 
problems.

lets say my script is called test and contains the following
touch /mnt/usb/testfile

what permisions should i see on that file if I ls -l test?
aka what -rw-r--r-- sequence should I see if I want that file to be 
executable by all and have permissions of root during execution? and 
that when I enter /test as non-root user the testfile is created 
in /mnt/usb/

Cosmo

--- In  "j.chitte" <> wrote:
>
> --- In  Kevin Cozens <kevin@> wrote:
> >
> > brianvandergaast wrote:
> > > well, I need to produce a webpage that can have controls to
> > > delete/download/move files on the usb stick(on SBC) and have a
> > > control to shutdown the board. stuff like that. The board is 
used 
> in
> > > a highly remote area where the only one within range of the 
wifi 
> will
> > > be myself. Direction is much apreciated
> 
> 
> why do you want to do this sort of thing via a web page rather than 
> the more usual ssh login?
> 
> obviously running apache as root is a very bad idea. Even if you 
have 
> no outside connection it clearly should not have acces to the whole 
> system.
> 
> if you really feel the need for a shutdown button, link it to a cgi 
> program owned by root and with suid bit set.
> 
> man chmod.
>




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU