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

Re: executables in /xyz



High,

On 23 Mar 2002, Timo --Blazko-- Boewing wrote:

> Hello everyone,
>
> i have a funny thing in my current sid (2 months old, but last update
> yesterday [dist-upgrade]) but also in the previous installation (also
> sid):
>
> whenever i am developing in C/C++ or bash, i cannot execute the files.
> they reside in a custom folder /data/devel/[xyz]. Having controlled file
> permissions etc. and even when trying to launch'em as root, i get e.g.
>
> bach: /data/devel/c++/!samples/test.c: permission denied
Well that's an interesting shell :-0

>
> when i copy these files to my home folder or even to e.g.
> /usr/share/doc/libgtk1.3-dev/examples/base,
> they work.
>
> I can certainly say that file perms are okay. Any ideas why these things
> won't run in my /data folder? For information: /data is another
> partition, maybe mount-options are the cause?:
>
> /dev/hda3	/data	reiserfs	defaults,user	0	0
>
I think the problem is here. For any other partition that root, you have
to set the 'exec' flag explicitely, so:

/dev/hda3	/data	reiserfs	defaults,user,exec	0	0

Greetz,
Sebastiaan



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



Reply to: