|
On Fri, Jun 26, 2015 at 10:59 AM, Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
Thanks Scott - as ever the perfect description. So I guess this has no equivalent in Unix/Linux systems.
I think you've misread it. The setgid bit *is* a Unix/Linux thing.
As I noted in another post, sadly it means that permissions are not the cause of our issues with Wordpress and we need to look elsewhere.
My takeaway from Scott's explanation is that you basically have a
couple avenues:
1. You can adjust the permissions on the relevant directories, so that
they are 755 instead of 2755. To do this, use
chmod g-s mydir
2. You can try to fix the plugin (or whatever program is detecting the
permissions) so that it ignores high-order bits (so just chop off the
leading '2' and ignore it).
In case you're not aware, the digits are just an octal representation
for permission bits. The rightmost 9 bits (3 octal digits) determine
the access rights. From a purely "can I read it? can I write it? can I
execute it?" standpoint, 2755 is IDENTICAL to 755. It's just that for
directories, the setgid bit has a special meaning when creating new
objects within that directory. So when people say "it should have no
effect" what they mean is "the RELEVANT bits are identical, and other
bits OUGHT TO BE ignored (but maybe some software is mistakenly not
ignoring it)".
We have no way to know, based on the information you've given us,
whether turning off the setgid bit (or ignoring it) is safe. It could
be that you have software which depends on that setgid bit being a
particular value (because it's going to create objects in the affected
directory or directories).
John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.