LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 08-10-2005, 02:01 PM   #1
serksimper
LQ Newbie
 
Registered: Aug 2005
Posts: 5

Rep: Reputation: 0
script execution - file/directory permission issue


hey everyone,
i'm having some problems setting permissions for a folder that contains shell scripts.. i need the folder to be available for read/write/execute for all users of the system. right now, the folders location is /scripts.. currently, i have to allow the engineers using the scripts to su into root in order to execute them. any help would be greatly appreciated..

thanks,
adam
 
Old 08-10-2005, 03:01 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
Set root as the owner and users as the group for the script directory and everything inside it.
chown -R root.users /scripts

Will change all permissions to rwx for root, rwx for users group and r for world.
chmod 774 /scripts/*

Here is a good link explaining it,
http://www.comptechdoc.org/os/linux/..._ugfilesp.html

Last edited by tangle; 08-10-2005 at 03:02 PM.
 
  


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
File System / Permission Issue anand_kt Linux - Security 5 09-15-2005 01:11 PM
how do i get permission to move file into directory timalan Suse/Novell 2 08-24-2005 09:25 PM
cvs rtag: script execution failed: permission denied markpetit Linux - Software 0 05-25-2005 11:47 AM
file/directory access permission question correro Linux - General 4 05-22-2003 07:48 PM
Setting File / Directory Permission, with sticky Primetime Linux - Newbie 3 01-06-2003 01:14 PM


All times are GMT -5. The time now is 01:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration