Re: /home as noexec and X
On Thu, Dec 10, 1998 at 01:36:05PM +0100, Matus fantomas Uhlar wrote:
> -> Ship's Log, Lt. Ben Gertzfield, Stardate 091298.0823:
> -> > an sh script, but I totally agree; Debian should not require
> -> > ~/.xsession to be executable. I don't think any other Unixes do.
> ->
> -> redhat does ...
>
> probably exactly to be possible for user to decide what shell to use;
>
> Hmmm i found another problem with dselect:
>
> Removing idled ...
> dpkg (subprocess): unable to execute pre-removal script: Permission denied
> dpkg: error processing idled (--remove):
> subprocess pre-removal script returned error exit status 2
> dpkg (subprocess): unable to execute post-installation script: Permission
> denieddpkg: error while cleaning up:
> subprocess post-installation script returned error exit status 2
That right there is a reason /var can not be mounted noexec. dpkg
scripts are NOT required to be shell scripts - some are perl, and one
or two are executable, if I recall correctly. And /var is definitely
the place for them.
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| CMU, CS class of 2002 |
| Debian GNU/Linux Developer __ Part-Time Systems Programmer |
| dan@debian.org | | drow@cs.cmu.edu |
\--------------------------------/ \--------------------------------/
Reply to: