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

more chmod



Is there a way to have a second script called from a first script still
setuid?  Ok here is the situation user x runs script a, script a is a normal
script that grabs a file owned by user b, script a then calls script y which
is setuid to userb so it can change that file grabbed by script a.  It seems
that when a script is called from another script it isn't really setuid because
when i write a new file it doesn't write it under the suid'd id it writes
it under the original id.  Is there a way to get this to work the way i want
it (prehaps with an exec or something?) or no?  Thanks for any help


Reply to: