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 > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Tar only the Directories and Sub Directories Andysundar UNIX for Dummies Questions & Answers 3 06-01-2008 09:54 PM
Listing directories and sub directories jinxor UNIX for Advanced & Expert Users 3 03-11-2008 10:27 AM
moving directories to new directories on multiple servers mackdaddy07 Shell Programming and Scripting 0 04-06-2007 12:30 PM
creating directories carlvernon UNIX for Dummies Questions & Answers 3 06-01-2006 02:45 PM
cp to all directories. sureshy UNIX for Dummies Questions & Answers 3 06-20-2003 12:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-14-2007
vivek_damodaran vivek_damodaran is offline
Registered User
  
 

Join Date: Sep 2005
Location: Milton Keynes, UK
Posts: 20
creating directories on the same box

I have two login accounts 'fup04a' and 'fup04c' on the same unix box
after log in using 'fup04a' and if I try creating a directory 'new'

drwxrwxr-x 2 fup04a fup04a 4096 Nov 14 14:06 new

but if i try the same with fup04c

drw-rw-r-x 2 fup04c fup04c 4096 Nov 14 14:05 new

Now please see the permissions for both the directories, why is that the second one not having proper permissions?

Where should i make the changes so that a new directory created using login account 'fup04c' has the permissions - rwxrwxr-x

Please help me. Thanks
  #2 (permalink)  
Old 11-14-2007
411seeker's Avatar
411seeker 411seeker is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 18
Typically there is a umask setting in each usernames $HOME/.profile

something like
umask 002 with cause the default perms to be 775 for dirs and 664 for files

umask 022 will get your 755 for dirs and 644 for files.

edit the respective .profile and change or update the the umask entry.
  #3 (permalink)  
Old 11-14-2007
vivek_damodaran vivek_damodaran is offline
Registered User
  
 

Join Date: Sep 2005
Location: Milton Keynes, UK
Posts: 20
perfect....its now giving the correct permissions

many thanks budddy

cheers
  #4 (permalink)  
Old 11-14-2007
411seeker's Avatar
411seeker 411seeker is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 18
No prob.

Have a nice day
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:25 PM.


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