Re: [U2] Linux / file create default permissions

2009-06-17 Thread Timothy Snyder
 You could try the UniVerse command “UMASK 000”. Works exactly like 
 the Unix version.
 
 Put it in the UV.LOGIN or the account LOGIN macro and everyone will 
 get the settings applied.

While this answers the original question, the original question itself 
begs another question:  Are you sure you want to create all files as 777? 
True, this will ensure that nobody will hit access problems.  But do you 
really want database files created as accessible to anybody with access to 
the system?  And should they be set as executable?  Fully open files are a 
huge red flag for system auditors.

There may be times when it's justifiable to create a file as 777, but 
creating ALL files as 777 is - IMHO - opening yourself up for a huge 
cleanup problem later.

Tim Snyder
Consulting I/T Specialist
U2 Lab Services
Information Management, IBM Software Group

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] Linux / file create default permissions

2009-06-16 Thread Susan Joslyn
Greetings group.

Anyone know how to set an overall parameter so that files created in
Universe over Linux get r/w/x permissions?  We are having to chmod 777 after
we create any file. want that to be the default.

 

Thanks!

 

Susan Joslyn

SJ+ Systems Associates, Inc.

PRC(r) Software life-cycle management and IT Governance for U2/Multivalue

http://sjplus.com

 

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Linux / file create default permissions

2009-06-16 Thread Jeff Schasny
Set the users umask in the .profile of their home directory. If all of 
your users are part of a common group (as they should be) umask 770 
should work


Susan Joslyn wrote:


Greetings group.

Anyone know how to set an overall parameter so that files created in 
Universe over Linux get r/w/x permissions?  We are having to chmod 777 
after we create any file... want that to be the default.


 


Thanks!

 


Susan Joslyn

SJ+ Systems Associates, Inc.

PRC(r) Software life-cycle management and IT Governance for U2/Multivalue

http://sjplus.com

 




___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
  


--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Linux / file create default permissions

2009-06-16 Thread Jeff Schasny
Or... if you want to make it global to all users put the umask in 
/etc/profile


Susan Joslyn wrote:


Greetings group.

Anyone know how to set an overall parameter so that files created in 
Universe over Linux get r/w/x permissions?  We are having to chmod 777 
after we create any file... want that to be the default.


 


Thanks!

 


Susan Joslyn

SJ+ Systems Associates, Inc.

PRC(r) Software life-cycle management and IT Governance for U2/Multivalue

http://sjplus.com

 




___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
  


--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Linux / file create default permissions

2009-06-16 Thread Joshua Gallant
You do in fact want to look into the umask setting but 770 doesn't seem
correct since that would grant access to other but not the owner or
group.

 

- Josh

 

From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny
Sent: Tuesday, June 16, 2009 12:20 PM
To: sjos...@sjplus.com; U2 Users List
Subject: Re: [U2] Linux / file create default permissions

 

Set the users umask in the .profile of their home directory. If all of
your users are part of a common group (as they should be) umask 770
should work

Susan Joslyn wrote: 

Greetings group.

Anyone know how to set an overall parameter so that files created in
Universe over Linux get r/w/x permissions?  We are having to chmod 777
after we create any file... want that to be the default.

 

Thanks!

 

Susan Joslyn

SJ+ Systems Associates, Inc.

PRC(r) Software life-cycle management and IT Governance for
U2/Multivalue

http://sjplus.com

 

 






 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
  

 

-- 



Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com



___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Linux / file create default permissions

2009-06-16 Thread BNeylon
Doesn't the umask have to be the inverse (for want of a better word)?
umask 002 would give the same permisions as chmod 664?  Or is that 
something that has been changed? 

Bruce M Neylon
Health Care Management Group 




Joshua Gallant jgall...@cbd.com 
Sent by: u2-users-boun...@listserver.u2ug.org
06/16/2009 12:57 PM
Please respond to
U2 Users List u2-users@listserver.u2ug.org


To
U2 Users List u2-users@listserver.u2ug.org
cc

Subject
Re: [U2] Linux / file create default permissions






You do in fact want to look into the umask setting but 770 doesn’t seem 
correct since that would grant access to “other” but not the owner or 
group.
 
- Josh
 
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeff Schasny
Sent: Tuesday, June 16, 2009 12:20 PM
To: sjos...@sjplus.com; U2 Users List
Subject: Re: [U2] Linux / file create default permissions
 
Set the users umask in the .profile of their home directory. If all of 
your users are part of a common group (as they should be) umask 770 should 
work

Susan Joslyn wrote: 
Greetings group.
Anyone know how to set an overall parameter so that files created in 
Universe over Linux get r/w/x permissions?  We are having to chmod 777 
after we create any file… want that to be the default.
 
Thanks!
 
Susan Joslyn
SJ+ Systems Associates, Inc.
PRC(r) Software life-cycle management and IT Governance for U2/Multivalue
http://sjplus.com
 
 





 
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 
-- 

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Linux / file create default permissions

2009-06-16 Thread Charles_Shaffer
The umask tells the file system which bits to NOT set when th user creates 
a file.  I believe the default is 777, OR the permissions of the parent 
directory.  Then the umask is applied.  The umask is usually set in the 
users .profile, but can be globally set in the /etc/profile depending on 
the flavor of UNIX.


Charles Shaffer
Senior Analyst
NTN-Bower Corporation

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Linux / file create default permissions

2009-06-16 Thread Jeff Schasny

Sorry about that. Must be lexdistic today

John Hester wrote:



From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Joshua
Gallant
Sent: Tuesday, June 16, 2009 9:57 AM
To: U2 Users List
Subject: Re: [U2] Linux / file create default permissions



You do in fact want to look into the umask setting but 770
doesn't seem correct since that would grant access to other but not
the owner or group.

	 


- Josh

	 
---


Josh is right, umask has an inverse relationship to the octal permission
numbers chmod uses.  We execute umask 0002 in the UV users'
.bash_profile which results in permissions of rw-rw-r-- for new files
and rwxrwxr-x for new directories (type 19 files).  If you want to
completely deny access for other, umask 0006 will results in
permissions of rw-rw for files and rwxrwx--- for directories.  Also,
you can omit the first digit if it's zero.  It's just for special
permissions like the suid or sticky bits.

-John
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

  


--

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Linux / file create default permissions

2009-06-16 Thread Anthony W. Youngman
In message 
ofa49394a8.99d841e0-on862575d7.005ef02c-862575d7.005f8...@ntn-bower.com

, charles_shaf...@ntn-bower.com writes


The umask tells the file system which bits to NOT set when th user
creates a file.  I believe the default is 777, OR the permissions of the
parent directory.  Then the umask is applied.  The umask is usually set in
the users .profile, but can be globally set in the /etc/profile depending on
the flavor of UNIX.

Try man chmod and play. I've just taken a look and modes 4000 and 2000 
look promising although they're not quite what I thought. They'll force 
owner (and maybe group) to be what you want. It might not work for 
dynamic files, though :-(


Cheers,
Wol
--
Anthony W. Youngman pi...@thewolery.demon.co.uk
'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the
thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man
lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998
Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Linux / file create default permissions

2009-06-16 Thread Gregor Scott
You could try the UniVerse command UMASK 000. Works exactly like the Unix
version.

 

Put it in the UV.LOGIN or the account LOGIN macro and everyone will get the
settings applied.

 

 

Gregor

 

From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Susan Joslyn
Sent: Wednesday, 17 June 2009 2:11 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] Linux / file create default permissions

 

Greetings group.

Anyone know how to set an overall parameter so that files created in
Universe over Linux get r/w/x permissions?  We are having to chmod 777 after
we create any file. want that to be the default.

 

Thanks!

 

Susan Joslyn

SJ+ Systems Associates, Inc.

PRC(r) Software life-cycle management and IT Governance for U2/Multivalue

http://sjplus.com

 

 

  _  

Message protected by DealerGuard: e-mail anti-virus, anti-spam and content
filtering.
http://www.pentanasolutions.com

Report
https://login.mailguard.com.au/report/1xG4kNUV9q/7zz8WE1eeNgPzaEgAc2vJC/0.0
02  this message as spam  
 

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users