![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| Get the latest directory created | f354676 | Shell Programming and Scripting | 2 | 05-12-2008 02:59 PM |
| Newly created files default group and write permissions | goldfish | UNIX for Dummies Questions & Answers | 2 | 02-20-2008 06:39 PM |
| Find all files created by a specified user in a directory and its subdirectories | abhilashnair | UNIX for Dummies Questions & Answers | 5 | 06-13-2007 02:37 AM |
| permissions of a directory | smehra | UNIX for Dummies Questions & Answers | 3 | 06-04-2006 10:32 AM |
| determine owner directory permissions from within the directory | Sniper Pixie | Shell Programming and Scripting | 4 | 03-07-2006 05:06 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
new directory - how to force files created in it to inherit grp,own and permissions
Hi, I'm new to unix -solaris.
I've just upgraded a third party software product and am testing it to see if new files created in a test database directory were being created properly and they aren't. They're owned by the user that created the file, instead of poppa and the group of their files is not always momma - see below.. I created a directory and set owner, group and permissions on it as follows : mkdir /tempdb chown poppa tempdb chgrp momma tempdb chmod 660 tempdb My question is - how do I force files created in this directory to inherit the owner and group and permissions of the directory itself ? All users with access to log in to this sun box will need to share these files. Thanks in advance if anyone can help me. Is it umask I need or setacl ? I've read the umask man page but it's a bit confusing. |
|
||||
|
The owner forget it, because is necesary to create an executable, or an script and can cause an exposure.
For the group chmod g+s /tempdb The user that create a file in /tempdb must be in the momma group. Regards. Hugo |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|