scripting inherited commands user rights
i have got a /data folder where no one has rights accept user "root".
and for some reasons or reducing my dependency i have created a script
which include
"mkdir" command
like this
mkdir /data/example
the script own by the user and have got rights 700 on the script file
so that only that specific user can run the script however when the
script ran it gives us this error
"mkdir: cannot create directory `/data/example ': Permission denied"
i dont want to give any user -w , -r and -x rights on the folder but
what i want is that he can only create directory via that script only.
Thanks,
Reply to: