Permissions advice needed.
brett at net24.co.nz
Tue Jan 9 19:55:41 UTC 2007
Unfortunately, as I expounded to Malcolm Lay, in this application (a
shared-hosting webserver) suexec is being used which does not traverse
symbolic links. :-(
MAC_BSDEXTENDED in Bsd6.2 solves the problem very nicely.
From: George Vanev [mailto:george.vanev at gmail.com]
Sent: Tuesday, 9 January 2007 7:42 p.m.
To: Brett Davidson
Subject: Re: Permissions advice needed.
Why don't you make a symbolic link to that file.
You may set read, write and execute permissions if you wish... doesn't
The users will be able to run your executable via the link,
but they won't be able to modify it.
On 1/8/07, Brett Davidson <brett at net24.co.nz> wrote:
I have a curious problem.
I need an executable file to be owned by a user's uid and gid so
can run it.
HOWEVER, I don't want them to be able to modify or delete the
and/or it's permissions. Another program will do that.
This, under standard Unix permissions, is a tad difficult. :-)
ACL's don't help here as the owner of a file has the ability to
I could set the immutable bit (Linux term for the schg flag) but
modifying program does not recognise this flag and will thus
modify the file.
(I have no control over the modifying program).
I don't want to go down the line of using BSD MAC but I'm
think I may have too just to be able to prevent the user from
ONE file! (I'm not even sure I could implement this using MAC
freebsd-questions at freebsd.org mailing list
To unsubscribe, send any mail to "
freebsd-questions-unsubscribe at freebsd.org
<mailto:freebsd-questions-unsubscribe at freebsd.org> "
More information about the freebsd-questions