Best practices | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Best practices

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-23-2013
ossupport55 ossupport55 is offline
Registered User
 
Join Date: Jan 2013
Last Activity: 25 March 2014, 9:51 AM EDT
Location: Victoria
Posts: 11
Thanks: 5
Thanked 1 Time in 1 Post
Best practices

Dear all,
Kinda lame question but i'd like to hear your experiences and advice.

Question in short
-----------------
What permission should a mount point "ideally" have - i think it's root.

Ex:- /usr/app/ i'd set the app to be owned by root and within /usr/app i would create another directory for the specific purpose and give it permissions accordingly.

I think i can use the same analogy for BD2 and Oracle mount points.

cheers folks
Tim
Sponsored Links
    #2  
Old 01-24-2013
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 28 July 2014, 6:27 PM EDT
Location: Saskatchewan
Posts: 18,988
Thanks: 750
Thanked 3,146 Times in 2,951 Posts
That's actually a few questions.

The mountpoint itself, before its mounted, what permissions should it have? Probably root, and read-only to everything else. You don't want the mountpoint to be used when not mounted by accident, that could fill up your root filesystem.

When it's mounted, what permissions should it have? Well, a mountpoint is in effect just a folder like any other. It may have to have certain permissions; if you put a mountpoint on /var/cache/squid, it ought to belong to user squid, group squid, and be writable by squid, or it won't be a whole lot of use.

Given that in some ways it's easier to rearrange filesystems than files -- you can plant them literally wherever you want -- it may be best to mould filesystems to the layout you want rather than vice versa.

Last edited by Corona688; 01-24-2013 at 12:49 PM..
The Following User Says Thank You to Corona688 For This Useful Post:
ossupport55 (02-03-2013)
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Best practices for Source control chvs2000 UNIX for Dummies Questions & Answers 4 12-22-2009 03:55 PM
emergency shutdown best practices. jsw371 UNIX for Advanced & Expert Users 10 10-09-2008 09:36 AM
Scripting Best Practices toddjameslane UNIX for Dummies Questions & Answers 5 03-26-2005 01:09 PM



All times are GMT -4. The time now is 02:39 AM.