Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-14-2012, 09:24 AM   #1
Registered: Jan 2006
Posts: 55

Rep: Reputation: 0
Setting developer verser operator permissions

As a developer, Iíve created software that falls under the following directory tree:

|--- Apps
| |--- Bin
| |--- Src
|--- Images
|--- Scripts

I want to set the permissions of Launcher and its subdirectories such that only I, or someone in my group, can manipulate them. (I know how to do this.)

As an operator, I need to be able to execute, and to copy executables from the Bin subdirectory to a local directory for execution. How do I accomplish this while still keeping Launcher and its subdirectories locked down?

I am trying to think the problem out, and basically what I want is for the operator to be able to run a script that he cannot read/modify. This script has the permission necessary to execute, perform the copies (, and set file permission so that operator can use those files). Is this possible?

FYI: Currently this software is setup so that operator is the owner, but Iíd really like to separate the developer from the operator (as an operator should never be tinkering with the source code or scripts).
Old 06-14-2012, 08:03 PM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,501

Rep: Reputation: 2411Reputation: 2411Reputation: 2411Reputation: 2411Reputation: 2411Reputation: 2411Reputation: 2411Reputation: 2411Reputation: 2411Reputation: 2411Reputation: 2411
1. if you really mean a script (eg bash, Perl etc) then it must be readable to be executed; ie must have at least r-x somewhere.
You would have to compile a binary (eg using C) to avoid the r perm and have it run only with x perms.

a) you could go with rwxrwxr-x owned by you:you, but that of course means anyone can read/run.

b) You could go with rwxr-x--- owned by you:somegrp & add operator to somegroup, but only you would be able to edit it.

c) Lastly, you could use ACLs eg


permissions, scripting

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
[SOLVED] Setting up basic lamp server with CentOS 6, opinions for developer access? jraz Linux - Server 4 11-27-2011 07:42 AM
[SOLVED] C++ Operator Overloading Within an Already Overloaded Operator mirlin510 Programming 8 04-17-2011 12:02 PM
setting permissions kalidoss Linux - Newbie 1 06-28-2010 08:37 PM
setting permissions Raakh Linux - Newbie 12 01-01-2008 10:19 AM
Setting Permissions johnnyde Linux - Newbie 1 05-22-2003 04:37 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:17 PM.

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