The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to copy owner permissions to group ynixon UNIX for Dummies Questions & Answers 4 09-04-2008 10:29 AM
group permissions/webserver doozer Filesystems, Disks and Memory 3 07-28-2006 09:32 AM
How to FTP all newly created but the current open file? indianya UNIX for Advanced & Expert Users 3 09-12-2005 03:18 AM
new directory - how to force files created in it to inherit grp,own and permissions avisb UNIX for Dummies Questions & Answers 2 04-26-2002 04:47 PM
root group permissions jacobsa UNIX for Dummies Questions & Answers 5 11-02-2001 02:36 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-20-2008
goldfish goldfish is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 18
Newly created files default group and write permissions

Whenever I create a new file the group name is "dnn" and the file permissions are "-rw-r--r--".

How do I get it so when I create files (with vi or other programs) that the default group is "sss" and the permissions are 770?

(I am running HP-UNIX)

Thanks,
GoldFish
  #2 (permalink)  
Old 02-20-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,716
You have to change your default group, in HPUX, is newgrp <new group>.
Thne you neeed to alter the umask setting:
Code:
newgrp sss
umask 007
You need to be set up by the sysadmin to be able to switch groups.
  #3 (permalink)  
Old 02-20-2008
goldfish goldfish is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 18
Thanks! that works great and did the trick! Learned a few new commands today.

Gold Fish
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0