Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #7719

Re: GUI apps not honoring umask

From The Natural Philosopher <tnp@invalid.invalid>
Newsgroups comp.os.linux.misc
Subject Re: GUI apps not honoring umask
Date 2013-04-02 21:01 +0100
Organization albasani.net
Message-ID <kjfdeg$d64$1@news.albasani.net> (permalink)
References <kjf833$vnv$1@news.albasani.net> <lYF6t.338076$O02.190838@newsfe18.iad> <v0G6t.167519$rk7.64090@newsfe05.iad>

Show all headers | View raw


On 02/04/13 20:08, Lew Pitcher wrote:
> On Tuesday 02 April 2013 15:03, in comp.os.linux.misc, lpitcher@teksavvy.com
> wrote:
>
>> On Tuesday 02 April 2013 14:29, in comp.os.linux.misc, tnp@invalid.invalid
>> wrote:
>>
>>> Linux mint Mate 13.
>>>
>>>
>>> Problem. I have a shared server (Linux, NFS mounted with full root
>>> perms)  and any file I create with any desktop app has 644 perms on it.
>>> Now the server is well behaved and forces the group to 'staff' and the
>>> other users are all in group 'staff' but its a real pain in the butt
>>> when while any console app creates files with umask perms (currently
>>> 664.002) no GUI app does. They seem to overided these.
>>
>> I'm not certain I follow you.
>>
>> You say that
>>   - gui apps create files with 644 permissions.
>>   - console apps create files with "umask perms" - 0664 umasked with 002
>>
>> Well, 0664 permissions, with a umask of 002, results in 0644 permissions
>
> Ack.... I read that with an extra zero (0020) rather than 002 - I get it
> now. Your gui is acting as if you had a umask of 0022 rather than 0002.
>
> OK. I get it now
>
>
I've possibly hacked round it using ACLs..which I didn't know existed.

i.e. i created a 644 file with root perms and deleted it as a user..

I'll look into .xinit etc etc ..

Oh. none of the config files you listed exist.Or any analogs :@-(


But it seems any program can modify up to umask..so setting umask to 
664s wont mean the app does the same.

-- 
Ineptocracy

(in-ep-toc’-ra-cy) – a system of government where the least capable to 
lead are elected by the least capable of producing, and where the 
members of society least likely to sustain themselves or succeed, are 
rewarded with goods and services paid for by the confiscated wealth of a 
diminishing number of producers.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-02 19:29 +0100
  Re: GUI apps not honoring umask Lew Pitcher <lpitcher@teksavvy.com> - 2013-04-02 15:03 -0400
    Re: GUI apps not honoring umask Lew Pitcher <lpitcher@teksavvy.com> - 2013-04-02 15:08 -0400
      Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-02 21:01 +0100
  Re: GUI apps not honoring umask Eli the Bearded <*@eli.users.panix.com> - 2013-04-03 06:27 +0000
    Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 11:01 +0100
      Re: GUI apps not honoring umask Robert Heller <heller@deepsoft.com> - 2013-04-03 06:22 -0500
        Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 12:46 +0100
          Re: GUI apps not honoring umask Robert Heller <heller@deepsoft.com> - 2013-04-03 08:13 -0500
            Re: GUI apps not honoring umask Eli the Bearded <*@eli.users.panix.com> - 2013-04-03 22:13 +0000
              Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 23:45 +0100
              Re: GUI apps not honoring umask Robert Heller <heller@deepsoft.com> - 2013-04-03 17:50 -0500
        Re: GUI apps not honoring umask Chick Tower <c.tower@deadspam.com> - 2013-04-04 17:47 +0000
      Re: GUI apps not honoring umask Jean-David Beyer <jeandavid8@verizon.net> - 2013-04-03 07:27 -0400
        Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 12:48 +0100
          Re: GUI apps not honoring umask Jean-David Beyer <jeandavid8@verizon.net> - 2013-04-03 09:59 -0400
            Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 15:26 +0100
              Re: GUI apps not honoring umask Richard Kettlewell <rjk@greenend.org.uk> - 2013-04-03 15:28 +0100
              Re: GUI apps not honoring umask J G Miller <miller@yoyo.ORG> - 2013-04-03 14:46 +0000
                Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 17:08 +0100
                Re: GUI apps not honoring umask J G Miller <miller@yoyo.ORG> - 2013-04-03 16:59 +0000
                Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 18:45 +0100
                Re: GUI apps not honoring umask Jean-David Beyer <jeandavid8@verizon.net> - 2013-04-03 14:48 -0400
                Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 19:56 +0100
                Re: GUI apps not honoring umask Jean-David Beyer <jeandavid8@verizon.net> - 2013-04-03 15:28 -0400
                Re: GUI apps not honoring umask Octothorpe <Octothorpe@invalid.com> - 2013-04-03 18:33 -0400
                Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 23:47 +0100
                Re: GUI apps not honoring umask Octothorpe <Octothorpe@invalid.com> - 2013-04-03 19:30 -0400
                Re: GUI apps not honoring umask Richard Kettlewell <rjk@greenend.org.uk> - 2013-04-04 09:08 +0100
                Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 18:48 +0100
  Re: GUI apps not honoring umask Bit Twister <BitTwister@mouse-potato.com> - 2013-04-03 11:53 +0000
    Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 13:22 +0100
      Re: GUI apps not honoring umask Bit Twister <BitTwister@mouse-potato.com> - 2013-04-03 12:49 +0000
        Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 15:22 +0100
          Re: GUI apps not honoring umask Bit Twister <BitTwister@mouse-potato.com> - 2013-04-03 21:20 +0000
            Re: GUI apps not honoring umask The Natural Philosopher <tnp@invalid.invalid> - 2013-04-03 22:32 +0100

csiph-web