LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
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



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 / openSUSE 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

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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

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
Open Source Consulting | Domain Registration