If you are referring to 'umask u-x,g=x,o+w', this removes execute
permission for the owner ('user'), adds write permission for 'others'
and sets the group permissions to be only the execute permission,
removing any others. IOW, the executable bit is set for the group and
all other group permissions are reset.
-Chip-
On 12/15/2013 09:50 Uli Zinngrebe said:
> On Saturday 14 Dec 2013 18:12:11 Rick McGuire wrote:
>> Ok, the fix has been committed to both trunk and branch. Someone needs to
>> check this out on a non-Windows system.
>>
>
> File permissions now adapt to umask settings.
> In the second example I'm not sure whether umask means
> - that the executable bit for group may be set or
> - that the executable bit for group must be set.
>
> Cheers, Uli
>
>
> uli@ulmo:~> rpm -q ooRexx
> ooRexx-4.2.0-9713.opensuse1220.x86_64
>
> uli@ulmo:~> uname -a
> Linux ulmo 3.4.11-5-desktop #1 SMP PREEMPT Mon Sep 24 21:27:36 UTC 2012
> (ca8d6ae) x86_64 x86_64 x86_64 GNU/Linux
>
>
> uli@ulmo:~> rexx -e " 'umask';call lineout file, test;'ls -l' file"
> 0022
> -rw-r--r-- 1 uli users 5 Dec 15 15:30 FILE
>
>
> uli@ulmo:~> rm FILE
> uli@ulmo:~> umask u-x,g=x,o+w
> uli@ulmo:~> rexx -e " 'umask';call lineout file, test;'ls -l' file"
> 0160
> -rw----rw- 1 uli users 0 Dec 15 15:45 FILE
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
> _______________________________________________
> Oorexx-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oorexx-devel
>
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel