[opensuse] /opt directory keeps getting its permissions reset
I keep my applications installed on the /opt directory that is owned by the root user and group. In order for my user to be able to install applications there i've added it to the root group and did: chmod 775 /opt This works fine. Still, every now and then and without me doing another chmod i find that the /op directory has gone back to the original permissions that are 755. I first thought it was the guid setting so i disabled it, but still the same happens. Any idea what could be causing this ? Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Fri, Jan 09, 2009 at 10:20:32AM +0000, Hugo Palma wrote:
I keep my applications installed on the /opt directory that is owned by the root user and group. In order for my user to be able to install applications there i've added it to the root group and did:
chmod 775 /opt
This works fine. Still, every now and then and without me doing another chmod i find that the /op directory has gone back to the original permissions that are 755. I first thought it was the guid setting so i disabled it, but still the same happens.
Any idea what could be causing this ?
SuSEconfig permissions might do this or an update of the filesystem RPM to which /opt belongs. Consider to use /etc/permissions.local to adjust /opt to 0775. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Fri, Jan 9, 2009 at 10:35 AM, Lars Müller <lmuelle@suse.de> wrote:
On Fri, Jan 09, 2009 at 10:20:32AM +0000, Hugo Palma wrote:
I keep my applications installed on the /opt directory that is owned by the root user and group. In order for my user to be able to install applications there i've added it to the root group and did:
chmod 775 /opt
This works fine. Still, every now and then and without me doing another chmod i find that the /op directory has gone back to the original permissions that are 755. I first thought it was the guid setting so i disabled it, but still the same happens.
Any idea what could be causing this ?
SuSEconfig permissions might do this or an update of the filesystem RPM to which /opt belongs.
Consider to use /etc/permissions.local to adjust /opt to 0775.
Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
Ah, i see it. Thanks.
"Hugo Palma" <hugo.m.palma@gmail.com> writes:
Any idea what could be causing this ?
Search and edit /etc/permissions Charles -- "The move was on to 'Free the Lizard'" -- Jim Hamerly and Tom Paquin (Open Sources, 1999 O'Reilly and Associates)
Charles Philip Chan <cpchan@sympatico.ca> writes:
Search and edit /etc/permissions
Oops, I send this too fast. The permission is set in /etc/permissions, but you should put the new values in /etc/permissions.local, so it won't get hosed during an update. Charles -- "Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs." (By Dennis Ritchie)
On Fri, Jan 9, 2009 at 10:58 AM, Charles Philip Chan <cpchan@sympatico.ca> wrote:
Charles Philip Chan <cpchan@sympatico.ca> writes:
Search and edit /etc/permissions
Oops, I send this too fast. The permission is set in /etc/permissions, but you should put the new values in /etc/permissions.local, so it won't get hosed during an update.
Charles
-- "Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs." (By Dennis Ritchie)
Thanks for the tip. I changed permissions.local and after a reboot the permissions stayed just like i want them to. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Charles Philip Chan
-
Hugo Palma
-
Lars Müller