A app. to su in the GUI?

Questions and thoughts about present and future editions
Forum rules
Before you post please read this

A app. to su in the GUI?

Postby edward1978 on Thu Sep 22, 2011 10:40 am

Is there 1?
edward1978
Level 1
Level 1
 
Posts: 21
Joined: Tue Dec 07, 2010 1:04 pm

Linux Mint is funded by ads and donations.
 

Re: A app. to su in the GUI?

Postby proxima_centauri on Thu Sep 22, 2011 11:11 am

Yes. the command is gksudo for sudo and gksu for su.
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: A app. to su in the GUI?

Postby AlbertP on Thu Sep 22, 2011 11:23 am

If you are a KDE user you can use kdesu instead.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6515
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: A app. to su in the GUI?

Postby edward1978 on Thu Sep 22, 2011 2:00 pm

I want to beable to change a file to executable in the GUI.
edward1978
Level 1
Level 1
 
Posts: 21
Joined: Tue Dec 07, 2010 1:04 pm

Re: A app. to su in the GUI?

Postby proxima_centauri on Thu Sep 22, 2011 2:05 pm

Right-click a file -> Properties, in the permissions tab check executable.
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3976
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: A app. to su in the GUI?

Postby edward1978 on Fri Sep 23, 2011 12:03 am

proxima_centauri wrote:Right-click a file -> Properties, in the permissions tab check executable.


I do, but it umchecks right after I do it.
edward1978
Level 1
Level 1
 
Posts: 21
Joined: Tue Dec 07, 2010 1:04 pm

Re: A app. to su in the GUI?

Postby AlbertP on Fri Sep 23, 2011 6:25 am

NTFS and FAT filesystems can't save the Linux permissions. You can mount them with the exec.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6515
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: A app. to su in the GUI?

Postby altair4 on Fri Sep 23, 2011 7:42 am

I want to beable to change a file to executable in the GUI.

edward1978 wrote:
proxima_centauri wrote:Right-click a file -> Properties, in the permissions tab check executable.


I do, but it umchecks right after I do it.

Is this a Wine related question by any chance. If it is then here's how to fix it: viewtopic.php?f=90&t=69668&p=402625#p402625
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5986
Joined: Tue Feb 03, 2009 10:27 am

Re: A app. to su in the GUI?

Postby AlbertP on Fri Sep 23, 2011 7:50 am

The problem is not Wine related, though it may seem to be Wine-related as Windows programs tend to be on an NTFS or FAT filesystem. The real problem are those filesystems, that don't accept the execute flag of the Linux permission system.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6515
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: A app. to su in the GUI?

Postby altair4 on Fri Sep 23, 2011 8:38 am

The problem is not Wine related

We don't know that. It depends on why he feels the need to set the file as executable.

If he is trying to run a Windows *.exe file in Wine then he will receive an error message that it won't run because it's not marked executable. But Wine itself doesn't care and cannot determine if a Windows file has a Linux executable bit set. The solution specific for Wine is to change the file association to bypass something called cautious-launcher which my link details.

If this was originally a linux file that's now on an ntfs or fat32 partition that he needs to make executable then that's another matter. He will need to configure mounting parameters in fstab that will enable a "view" of those windows partitions that make it appear to have files possessing the enabled execute bit.

My post was not intended to contradict your post. It was to offer a solution based on why he needs to set that specific file executable. There is no need to set all ntfs files as executable if the only reason is for Wine use.

Also, based on his description of the problem we are both assuming that he he's trying to do this on a Windows filesystem since it fits the symptoms. It could be that he's trying to do this to a file on a CDROM.
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5986
Joined: Tue Feb 03, 2009 10:27 am

Re: A app. to su in the GUI?

Postby AlbertP on Fri Sep 23, 2011 1:49 pm

If I put a CD-ROM into my laptop, all files on it become executable. Linux executables and .exe files. Don't know why this wouldn't happen at other people.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 16
Level 16
 
Posts: 6515
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: A app. to su in the GUI?

Postby altair4 on Fri Sep 23, 2011 2:33 pm

I just brunt a part of my home directory to a CDROM and then inseterted it back to the drive.

All directories are mode = 500
All files are mode = 400
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
altair4
Level 15
Level 15
 
Posts: 5986
Joined: Tue Feb 03, 2009 10:27 am

Linux Mint is funded by ads and donations.
 

Return to About Mint Editions

Who is online

Users browsing this forum: No registered users and 0 guests