LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


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

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


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

Code:
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/gtk+.sh
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: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 5,247

Rep: Reputation: 1457Reputation: 1457Reputation: 1457Reputation: 1457Reputation: 1457Reputation: 1457Reputation: 1457Reputation: 1457Reputation: 1457Reputation: 1457
No. Here:
Code:
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/gtk+.sh
bash-4.2$
 
Old 11-23-2013, 12:30 AM   #3
cowyn
Member
 
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
Yes, same here, using -current:
Code:
$ 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/gtk+.sh
Should be the issue with the packaging:
Code:
$ 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/gtk+.sh
-rwxr-xr-x 3356/users       32 2010-12-10 03:12 etc/profile.d/gtk+.csh
 
Old 11-23-2013, 09:05 AM   #4
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 278

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

Rep: Reputation: 181Reputation: 181
Quote:
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.
  


Reply


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


All times are GMT -5. The time now is 09:34 PM.

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