LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 05-29-2012, 03:06 PM   #1
odog314
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
Strange Behaviour - GUI not accepting input


I have strange problem with a script generated gui that is designed to accept user keyboard input. The gui works fine for all users except one. All user peofiles are set up the same (copied from an identical template). It doesn't matter which machine / user combination is used the result is the same - all users save the one can use the gui without issue.

What is even more peculiar (at least from my viewpoint) is the fact that when I su - to the user's id from root the application works as expected.

Any suggestions as to where I might start with this problem? I have refreshed the user's profile several times so the problem lies somewhere other that there. But ????

The environment is KDE on RHEL.
 
Old 06-03-2012, 07:01 AM   #2
jv2112
Member
 
Registered: Jan 2009
Location: New England
Distribution: Arch Linux
Posts: 718

Rep: Reputation: 102Reputation: 102
Question

Sounds like a permission issue.

Does the user have writes to the directory containing the script ?

Is the user in the same group as the group of the script ?


It works when you grant root permissions (SU) because that user has access to all.

Code:
Login as the user in question and -->

joe@Tux-Box ~]$ id
uid=1000(joe) gid=100(users) groups=100(users),0(root),7(lp),10(wheel),50(games),91(video),92(audio),93(optical),98(power)

Does the above match the group below (users in my example)

[joe@Tux-Box ~]$ ls -l ~joe/Scripts/BU
-rwxr-x--- 1 joe users 5511 Apr 12 20:25 /home/joe/Scripts/BU

What is the second set of permission show on the file and the directory it is contained in ?

[joe@Tux-Box ~]$ ls -ld ~joe/Scripts/
drwxr-xr-x 4 joe users 4096 Apr 29 18:58 /home/joe/Scripts/

If you are still stuck post your results of the above and we can take it from there.

Hope this helps.
 
  


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
Accepting Input With Non-Interactive Shell scorchgeek Linux - General 2 11-21-2011 10:37 PM
shell scripting for accepting input from different directories automatically kswapnadevi Programming 2 11-10-2010 12:11 PM
What is accepting input from IR?! Flyte Linux - Software 2 09-19-2010 07:00 PM
Strange DNAT behaviour... packet don't pass to PREROUTING and go directly in INPUT !! cbettero Linux - Networking 7 03-09-2007 02:37 PM
strange gui behaviour salparadise Linux - Newbie 3 01-02-2003 10:46 AM


All times are GMT -5. The time now is 12:11 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration