gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] [Patch] mkdir problem


From: Piotr Eljasiak
Subject: Re: [gcmd-dev] [Patch] mkdir problem
Date: Fri, 03 Jun 2011 00:22:17 +0200

> > I'm just a user but let me butt in :) I second that gcmd should
> > recognize existing umask settings.
> 
> Well it does, in a way, but it will never allow a newly created
> directory to be group-writable or other-writable. More restrictive
> umasks will be enforced.
> 
> > When i had a samba network, long
> > ago, i used to create a separate user 'samba' on every client (i
> > think by todays Linux it's auto-created along the client
> > installation) and provided that with a umask / profile. Is that what
> > you're doing ?
> 
> We have a few network shares and want to use groups for access
> permissions to certain directories. It's just a minor hassle, but if
> directories are created via gnome commander, the group-writable bit has
> to be set manually after creating the directory. Clients are running
> Linux, Windows or MacOS.
> 
> Nice email nick, btw :)

Hi Torsten,

Thank you for your patch :o)

The reported problem is mainly caused by uneven dealing with umask by
GnomeVFS - respecting its settings for local connections and completely
ignoring it for remotes. IMHO as a workaround, it'd be the best to apply
777 + umask adjusts when mkdir.

I'm attaching two patches - respectively for 1.2.8 and master branch.
Please test if it works for you.


Piotr

Attachment: gnome-commander-mkdir-mask-1-2-8.patch
Description: Text Data

Attachment: gnome-commander-mkdir-mask-MASTER.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]