LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2014, 07:51 PM   #31
maddyfreaks
Member
 
Registered: May 2011
Posts: 70

Original Poster
Rep: Reputation: 0

Hi

we are not allowed to have 775 with/without ACL's

As i said i want to have user2 create/delete files in user1 ownership (logs). I want to achieve this with ACL's since 775 is not allowed.

Since i see people tried to help/advice me but looks like we dont have options to do that. so I decided to stop troubling folks rather asking more questions.

I just want to keep myself silent since this cannot be achieved.

To re-iterate this is what i need.

$ cd /opt/euser
$ ls -ld logs
drwxr-xr-x 2 euser grpi 4096 Sep 21 00:17 logs
$ setfacl -m u:euser:rwx,m::rwx logs
$ ls -ld logs
drwxrwxr-x+ 2 euser grpi 4096 Sep 21 00:17 logs

But this is violation as per our protocal so all we need is
$ ###execute some setfacl command to get my task acomplished.
$ ls -ld logs
drwxr-xr-x+ 2 euser grpi 4096 Sep 21 00:17 logs

---When i login as guser i should be able to cd to logs and touch files there. this is what i need. End of the day ls/find should show 755 it should never show 775
 
Old 09-29-2014, 08:33 PM   #32
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,408
Blog Entries: 6

Rep: Reputation: Disabled
I would follow Smokey_justme counsel and instructions.

Is it the security protocol that your company or employer has established that's being presented to you that is restricting what your trying to do? (not allow to use 775)
 
Old 09-29-2014, 08:41 PM   #33
maddyfreaks
Member
 
Registered: May 2011
Posts: 70

Original Poster
Rep: Reputation: 0
Yes company dont want 775 asked us to use ACL.

tried smokey's things but no luck.
 
Old 09-29-2014, 08:49 PM   #34
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,408
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by maddyfreaks View Post
Yes company dont want 775 asked us to use ACL.

tried smokey's things but no luck.
Sorry that your company won't allow 775-

One of our Guru's John VV is exceptionally good with Red Hat and other Red Hat based distributions.
I have learned from him.

I will ask him to join in and assist you.
 
Old 09-29-2014, 08:50 PM   #35
maddyfreaks
Member
 
Registered: May 2011
Posts: 70

Original Poster
Rep: Reputation: 0
Thanks Ztcoracat

Really appreciate your help.
 
Old 09-29-2014, 08:57 PM   #36
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,408
Blog Entries: 6

Rep: Reputation: Disabled
Quote:
Originally Posted by maddyfreaks View Post
Thanks Ztcoracat

Really appreciate your help.
Your Welcome-

I wasn't able to reach our Guru so I wrote to one of our Moderators for assistance.
 
Old 09-30-2014, 09:25 AM   #37
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
Besides explaining that the ACL makes the old unix permissions seem like 775 (which the fellows that recommended you this might already know) there's not much you can do...
 
Old 09-30-2014, 12:29 PM   #38
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware
Posts: 6,408
Blog Entries: 6

Rep: Reputation: Disabled
After re-reading this page Chapter 20.2 Setting Access ACLs and reading all that Smokey_just me has explained; I don't see any other practice in the Red Hat documentation to change or modify than what has already been discussed or implemented.

If there is another way I have not found it as of yet.

https://access.redhat.com/documentat...s-setting.html

Thanks again:Smokey_just me for your help.
The examples you gave helped!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove access ACL set on 'others' in RHEL 6 P.B Linux - Newbie 11 07-23-2013 04:07 PM
[SOLVED] How to mount windows shared partitions and folder on rhel 6 with acl vikas637 Linux - Newbie 3 06-27-2011 09:05 AM
[SOLVED] Enable ACL in RHEL 5 yamujanu Linux - Security 2 05-26-2011 07:24 AM
ACL defaultmask issue leaded Linux - General 1 12-16-2009 08:18 AM
ACL problem? permission denied issue! teamgsi Linux - Enterprise 5 10-16-2009 06:47 PM


All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration