- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: file creation
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 02:46 AM
тАО03-18-2009 02:46 AM
I have a partition with oracle:dba as owner and group.umask is 022.when oracle user creates any file default permission it shows rw_-r__-r.
I want it to be rwx for owner and r-x for group by default.
please help me on this.
regards,
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 02:48 AM
тАО03-18-2009 02:48 AM
Re: file creation
its 666 and for a directory its 777
so when the umask is 022
666
022
---
644 which is rw-r-r-
Now for directory
777
022
----
755 which is rwxr_xr_x
so the present umask is fine, just because its file its rw_r_r.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 02:51 AM
тАО03-18-2009 02:51 AM
Re: file creation
But when oracle creates any file ,permission shows rw_-r-r.
regards,
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 02:56 AM
тАО03-18-2009 02:56 AM
Re: file creation
why do you need permissions 755 as those files are text files or log files.
I feel the present umask looks fine. Is there a reason you want to change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 03:05 AM
тАО03-18-2009 03:05 AM
Re: file creation
thanks for ur reply.
i just confused..
but how we can set defualt permission for only files not dir.s which should not affect present umask.
regards,
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 03:10 AM
тАО03-18-2009 03:10 AM
Re: file creation
But which is the directory/files which you are looking for a changed permissions,
Are they scripts, text files, special files which need the twx i.e. execute permissions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 03:14 AM
тАО03-18-2009 03:14 AM
Re: file creation
not for special files...simple files
regards,
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 03:26 AM
тАО03-18-2009 03:26 AM
Re: file creation
But if still you need execute permissions and these files are generated out of the system, have a cron script that would change their permissions frequently.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 04:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2009 04:21 AM
тАО03-18-2009 04:21 AM
Re: file creation
umask from 022 to 002