- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- removing setacl
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
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
тАО07-24-2009 04:30 AM
тАО07-24-2009 04:30 AM
I have set setacl to a user with rwx.Now i want to modify the same with rw-. HOw it can be done.
and how to remove the set permission..
The command i used is
setacl -m user:john:rwx /test
regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 04:42 AM
тАО07-24-2009 04:42 AM
Re: removing setacl
setacl -m u:john:rw /test
for removing acl
setacl -d u:john:rwx filename.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 04:47 AM
тАО07-24-2009 04:47 AM
Re: removing setacl
http://docs.hp.com/en/B3921-90010/setacl.1.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 04:51 AM
тАО07-24-2009 04:51 AM
Re: removing setacl
setacl -m user:john:rw- /test
to delete an ACL, use
chacl -d
command. for the exact syntax and capabilities of chacl command, use man pages for the command.
This information is from a very old time, so I can not guarantee its accuracy. Please read the man pages. And try to stay away from ACLs even how tempting they look. In the long run, you are getting yourself into a big mess, that nobody but you can deal with.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:19 AM
тАО07-24-2009 05:19 AM
Re: removing setacl
thanx for the responses..
setacl -d not happening.it gives error as unknown user.
plz provide the chacl -d format
m getting below error with chacl
chacl -d user:john:rw- /tmp/tcl8.4.16-src.tar
chacl: invalid ACL: user name not terminated with dot in ACL entry: "user:john:rw-"
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:30 AM
тАО07-24-2009 05:30 AM
Re: removing setacl
chacl -d 'john.rw-' /tmp/tcl8.4.16-src.tar
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:30 AM
тАО07-24-2009 05:30 AM
Re: removing setacl
s1:rsh:/home/user1>touch test
s1:rsh:/home/user1>setacl -m u:user1:rwx test
s1:rsh:/home/user1>getacl test
# file: test
# owner: root
# group: root
user::rw-
user:user1:rwx
group::r--
class:rwx
other:---
s1:rsh:/home/user1>setacl -m u:user1:rw test
s1:rsh:/home/user1>getacl test
# file: test
# owner: root
# group: root
user::rw-
user:user1:rw-
group::r--
class:rw-
other:---
s1:rsh:/home/user1>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:42 AM
тАО07-24-2009 05:42 AM
Re: removing setacl
Thanx for the reply..
now i want to remove acl permissions.When i checked man pages i have found -d option.
CAn anybody tell correct format..
with chacl also not happening..
quick response highly appreciated
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:45 AM
тАО07-24-2009 05:45 AM
Re: removing setacl
chacl -d 'john.rw-' /tmp/tcl8.4.16-src.tar
command ? Could you please post ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:48 AM
тАО07-24-2009 05:48 AM
Re: removing setacl
Hi Mel,
Plz find the error..
#chacl -d 'john.rw-' tcl8.4.16-src.tar
chacl: invalid ACL: invalid group name in ACL entry: "john.rw-"
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:54 AM
тАО07-24-2009 05:54 AM
Re: removing setacl
chacl -d 'john.*rw-' tcl8.4.16-src.tar
if this does not work, please post the error message again. Dealing with ACLs is no fun
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 05:58 AM
тАО07-24-2009 05:58 AM
Re: removing setacl
again same error..
chacl: invalid ACL: invalid group name in ACL entry: "john.*rw-"
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:05 AM
тАО07-24-2009 06:05 AM
Re: removing setacl
Thanx Mel,
its solved..
setacl -d user:john
thanx to everyone who actively participated in this session.
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:05 AM
тАО07-24-2009 06:05 AM
Re: removing setacl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:08 AM
тАО07-24-2009 06:08 AM
Re: removing setacl
hi Frans,
As i posted above ,issue solved with
setacl option.
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 06:10 AM
тАО07-24-2009 06:10 AM
Re: removing setacl
> setacl -d u:john:rwx filename.
> check the setacl man pages for details
> http://docs.hp.com/en/B3921-90010/setacl.1.html
You mean where it says this?:
[...]
For the -d option, acl_entries are one or
more comma separated ACL entries without
permissions, [...]
Note: "without permissions". I know nothing,
but ":rwx" looks to me like permissions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2009 09:07 AM
тАО07-24-2009 09:07 AM