Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-22-2013, 11:43 PM   #1
Registered: Jun 2004
Distribution: Slackware
Posts: 198

Rep: Reputation: 32
Weird permissions in /etc/profile.d

I just noticed these two files aren't chown'd root:root:

ls -al /etc/profile.d/gtk+.*
-rwxr-xr-x 1 3356 users 32 Dec  9  2010 /etc/profile.d/gtk+.csh
-rwxr-xr-x 1 3356 users 44 Dec  9  2010 /etc/profile.d/
Can anyone else confirm that they have the same user and group?
Old 11-22-2013, 11:47 PM   #2
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,076

Rep: Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896Reputation: 2896
No. Here:
bash-4.2$ ls -al /etc/profile.d/gtk+.*
-rwxr-xr-x 1 root root 32 déc.   9  2010 /etc/profile.d/gtk+.csh
-rwxr-xr-x 1 root root 44 déc.   9  2010 /etc/profile.d/
Old 11-23-2013, 12:30 AM   #3
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
Yes, same here, using -current:
$ ls -al /etc/profile.d/gtk+.*
-rwxr-xr-x 1 3356 users 32 Dec 10  2010 /etc/profile.d/gtk+.csh
-rwxr-xr-x 1 3356 users 44 Dec 10  2010 /etc/profile.d/
Should be the issue with the packaging:
$ tar tvf gtk+2-2.24.20-x86_64-1.txz |grep -v root
-rwxr-xr-x 3356/users       44 2010-12-10 03:13 etc/profile.d/
-rwxr-xr-x 3356/users       32 2010-12-10 03:12 etc/profile.d/gtk+.csh
Old 11-23-2013, 09:05 AM   #4
Registered: Dec 2002
Distribution: slackware!
Posts: 530

Rep: Reputation: 96
I have same as cowyn and elyk.
Old 11-23-2013, 10:11 AM   #5
Slackware Contributor
Registered: Apr 2008
Location: Surrey, England
Distribution: Slackware
Posts: 645

Rep: Reputation: 484Reputation: 484Reputation: 484Reputation: 484Reputation: 484
Originally Posted by glorsplitz View Post
I have same as cowyn and elyk.
It's safe to chown them to root:root. The error is only in the x86_64 package - the 32bit version has the correct permissions.
2 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with permissions for the /etc/profile for unprivileged users. Exeis Linux - Security 1 03-24-2008 04:38 PM
Thunderbird profile permissions dosnlinux Linux - Software 2 04-22-2006 02:56 PM
I want weird filesystem permissions iluvatar Linux - Security 8 03-11-2005 09:01 AM
Roaming profile permissions.. Ateo Linux - Networking 3 12-24-2004 05:00 PM
Very Weird Sound Problem....Permissions? rm6990 Fedora 2 08-12-2004 05:17 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration