- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: inheritted file permissions??
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
Forums
Discussions
Discussions
Discussions
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
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
10-27-2008 07:11 PM
10-27-2008 07:11 PM
inheritted file permissions??
drwxr-x--- 2 ddeadmin dad 8192 Oct 15 13:09 sas
with files:
-rw-r----- 1 ddeadmin dadphac 4016 filephac
-rw-r----- 1 ddeadmin dadhc 4320 filehc
-rw-r----- 1 ddeadmin dad 5249 file1
-rw-r----- 1 ddeadmin dad 5249 file2
-rw-r----- 1 ddeadmin dad 5249 file3 ..etc
All users need access to dad group owned files.
Only users in both dad and dadphac should see filephac.
Only users in both dad and dadhc should see filehc.
But everyone can see everything. Is this becuz they inherit the rights at the directory level?
If so, how can I get by this please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 07:23 PM
10-27-2008 07:23 PM
Re: inheritted file permissions??
setacl command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 07:39 PM
10-27-2008 07:39 PM
Re: inheritted file permissions??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2008 11:52 PM
10-27-2008 11:52 PM
Re: inheritted file permissions??
Read or read/write? You need to add rx to the SAS directory for them to see the files there.
>Only users in both dad and dadphac should see filephac.
>Only users in both dad and dadhc should see filehc.
This requires ACLs.
>But everyone can see everything. Is this because they inherit the rights at the directory level?
The directory level allows you to know there is a file there. You have to all more permissions to be able to read or read/write the file.
>The system doesn't have JFS so the ACL cmd doesn't work (core dump).
You could use VXVS too. Do you just have HFS or NFS?
What ACL command aborted?
What does "bdf your-directory" show?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 06:17 PM
10-28-2008 06:17 PM
Re: inheritted file permissions??
Sorry, all of the users are in the 'dad' group. Also, of all of these users, they are all in either the phacdad or phachc groups but not both.
bdf - lot's of room, 2GB.
fstab entry for this mount point:
/dev/vg03/lvol1 /data vxfs rw,suid,largefiles,delaylog,datainlog 0 2
ACL cmd??:
setacl -m group:dadhc:r-- filehc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2008 07:59 PM
10-28-2008 07:59 PM
Re: inheritted file permissions??
That's how they can see the files.
>everyone can see everything. Is this because they inherit the rights at the directory level?
Yes. There is nothing you can do about it, not even ACLs. You can either see all or nothing in a directory. Whether you can access the files depends on the file properties.
>bdf - lot's of room, 2GB.
The purpose of the bdf was to find the filesystem type. But you need to make two passes (or root to use fstyp(1M)):
bdf -t vxfs
bdf your-directory
If the second shows up in the first, you can create ACLs.
>setacl -m group:dadhc:r-- filehc
This works fine for vxfs on 11.23.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2008 05:57 PM
10-29-2008 05:57 PM
Re: inheritted file permissions??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2008 05:57 PM
10-29-2008 05:57 PM
Re: inheritted file permissions??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2008 08:06 PM
10-29-2008 08:06 PM
Re: inheritted file permissions??
If you were happy with the answers given, please read the following about reopening threads and assigning points:
http://forums.itrc.hp.com/service/forums/helptips.do?#41
http://forums.itrc.hp.com/service/forums/helptips.do?#33