*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I notice that the date on the original version where group==compiler is newer than the date on the file which was present after the mysterious change in permissions.
My first guess is that some system upgrade or restore from backup replaced these files, setting the date and group in the process. To know how to prevent this happening in future, we must discover what caused the change.
You should check your system logs to see if there was an upgrade or restore from backup. If you are the sysadmin of the machine, you should know this already, if you are not, your best bet is to ask the sysadmin.
I notice that the date on the original version where group==compiler is newer than the date on the file which was present after the mysterious change in permissions.
My first guess is that some system upgrade or restore from backup replaced these files, setting the date and group in the process. To know how to prevent this happening in future, we must discover what caused the change.
You should check your system logs to see if there was an upgrade or restore from backup. If you are the sysadmin of the machine, you should know this already, if you are not, your best bet is to ask the sysadmin.
this is a pc with FreeBSD inside, and I did installation on this machine for testing at the same time allow several user's logging in to this machine
therefore, as far as I know i didn't do updating on this machine
how do I check the system logs to know what application is causing this issue?
I have changed the ownership of gcc and ld in /usr/bin to owner=root & group=wheel
but in about one day later the file ownership has been changed to owner=root & group=compiler
also the file permission has been changed as below
i have to change back the file permission and ownership to enable users running gcc and ld, but the same issue persist again the next day
what could be the possibilities and how do i make the changes i've made to the files are permanent
OS:
$ uname -a
FreeBSD server.mydomain.net 6.2-STABLE-JE FreeBSD 6.2-STABLE-JE #0: Sat Apr 21 01:07:18 UTC 2007 root@server:/usr/obj/usr/src/sys/GENERIC i386
thanks
i am unfamiliar with BSD
BUT
in SuSE Linux we have a system routine for security verification at
/etc/permissions ( there are several security levels with variations of that above file name )
with that file on certain occasions the system restores the permissions according to the permissions set in that file.
check if you have such a file - and if yes, read when it is run by your system and change accordingly if you know exactly why you want different permissions than default.
but in about one day later the file ownership has been changed to owner=root & group=compiler
...
OS:
$ uname -a
FreeBSD server.mydomain.net 6.2-STABLE-JE FreeBSD 6.2-STABLE-JE #0: Sat Apr 21 01:07:18 UTC 2007 root@server:/usr/obj/usr/src/sys/GENERIC i386
This may be a good question for the freebsd-stable mailing list.
AFAIK, there is no compiler group on a FBSD RELEASE base installation. Did you install a port that added this?
now i found only one user which is cpanel under group: compiler
and yes, i got WHM cpanel running, what is going on with this cpanel until it need to change permission for gcc and ld?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.