SetUID and SetGID question

Smoot Carl-Mitchell smoot at tic.com
Sun Sep 11 15:47:12 UTC 2011


On Sun, 2011-09-11 at 17:51 +0300, Ioannis Vranos wrote:

You ar welcome.

> Thank you for this information.
> 
> 
> Question: If the file foo has the following permissions:
> 
> -r---w----  1 someUser someGroup   36 2011-08-09 23:09 foo
> 
> 
> 
> and we access it with an executable, that has both SetUID and SetGID active:
> 
> 
> -rwsr-sr-x  1 someUser someGroup  869 2011-07-26 17:38 someExecutable
> 
> 
> Has this executable, both read and write access to the foo above?

Yes, it does.

-- 
Smoot Carl-Mitchell
System/Network Architect
voice: +1 480 922-7313
cell: +1 602 421-9005
smoot at tic.com





More information about the ubuntu-users mailing list