On 03/25/2010 04:33 PM, Programmer In Training wrote: <snip> >> P.S. More importantly, please let's be sure that all the file "create" >> PERMISSIONS are being created correctly. I already posted a bug on >> this, but I sure am getting tired of files being created with "rw- r-- >> r--" even though the umask, directory perms, etc., and everything else > > Um, that is. You'll find every file you save will by default rw-r--r-- > > From my own $HOME directory: > > -rw-r--r-- 1 user1 user1 2492 Feb 2 09:32 .vimrc > > Or even better, a file that's recently been created: > > -rw-r--r-- 1 user1 user1 8336 Mar 25 11:28 .xscreensaver > > Those perms give user1 (user, group) read and write permissions and > everyone else read permissions (which is how it should be by default). > The only time you need execute (x) permissions are on executables and if > you want someone else to be able to read them without copying the file > to them, just add them to your group. <snip>
[I may not have this 101% exactly worded properly, but I am 99.99% sure I have the concept correct.] The examples you just gave are appropriate for what they are specifically because they are in your own $HOME. Notice that in your example, both user and group are user1. That is appropriate for $HOME, but it is *NOT* appropriate for a wider-access data area in which all images are often edited by multiple staff members. More appropriate to this discussion would be /somedir/images directories, containing myimage.tif drwsrws--- 1 user1 mygroup 4096 Mar 25 11:28 somedir containing drwsrws--- 1 user1 mygroup 4096 Mar 25 11:28 images containing -rw-rw---- 1 user1 mygroup 35123 Mar 25 11:28 myimage.tif On *nix Create-file perms should be set by the creating program based on umask / directory perms. If the perms of the directory /somedir/images look like drwsrws--- user me group mygroup then if files are created BY A MEMBER of the group "mygroup", files created in /somedir/images should look like rw-rw---- (actually on my system they end up rw-rw-r-- for some reason). I am speaking simply of file creation, for example, by doing touch junk.txt However, Gimp 2.6.6 on Ubuntu 2.04 refuses to create files using the same methods that "every" other *nix programs use. This bug WAS CONFIRMED as a bug. This is very important in a multi-user work environment. Jay _______________________________________________ Gimp-user mailing list Gimp-user@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user