Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th August 2005, 06:29 PM
linkku Offline
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 10
Konqueror - Advanced Permissions

Konqueror: Properties for a folder, Permissions-tab...Can't figer out what the Set UID and Set GID under Special in Advanced Permissions do. If you know, please explain and possibly give me an example. How does it differ from the normal ownerships. I got nothing after searching forums, the net and helpers. Also, is it true that a certain folder can only have one group and one owner?

Kiitti!
-Linkku
Reply With Quote
  #2  
Old 15th August 2005, 07:23 PM
Furball's Avatar
Furball Offline
Registered User
 
Join Date: Jul 2005
Location: Passau, Germany
Age: 33
Posts: 331
Quote:
If you know, please explain and possibly give me an example
I'll try to explain it a bit:

If you have an executable file...
...and set the suid (set user id) bit: The file will NOT run with the permissions of the user who tries to run it but with the permissions of the user who owns this file
...and set the guid (set group id) bit: The same as suid but with groups
...and set the t bit (sticky bit): (deprecated) After termination of the process it will be kept within memory
An example:
ls -l /bin/bash gives you
-rwxr-xr-x 1 root root
If you run this command (start the bash) you will have the rights of your local user account. If the suid bit would be set and you start the bash you would have root rights becaue root is the owner of the file. (This is a method often used by rootkits and trojans) Setting the suid/guid can be very DANGEROUS so be careful if you need that ever.

Quote:
Also, is it true that a certain folder can only have one group and one owner?
That's partially correct. However you can use ACLs to have a flexible rights managment (different groups/users with different rights). Try to search google "linux acl" or try "man getfacl" or "man setfacl" to find more about it. ACLs -however- are not supported on every filesystem !!
__________________

Benjamin Duehring, FORWISS
Universitaet Passau, D-94030 Passau
WWW: http://www.lyxx.de/card
Reply With Quote
  #3  
Old 15th August 2005, 07:23 PM
tashirosgt Offline
Registered User
 
Join Date: Aug 2004
Posts: 3,855
The topics you search for on the web should be things like "suid" and "sticky bit" or "Unix file permissions". Suppose I have a command , like smbmnt. When I am an ordinary JoeUser and I run this command, it may need to do other things that only root can do. If we want JoeUser to be able to use this command we may set the permission on the file smbmnt to allow this. That is done by the "suid".

The web can probably explain "sticky bit" better than I can.
__________________
"Never let the task you are trying to accomplish distract you from the study of computers."
Reply With Quote
Reply

Tags
advanced, konqueror, permissions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable Advanced File Permissions Dialog in Nautilus. measekite Using Fedora 0 27th February 2009 02:47 AM
Help with the Advanced Graphics keeblerelf557 Using Fedora 5 8th March 2008 02:10 AM
Advanced routing SatelliteX Servers & Networking 0 10th March 2006 04:45 PM


Current GMT-time: 03:20 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat