Share your knowledge at the LQ Wiki.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 08-10-2005, 02:01 PM   #1
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..

Old 08-10-2005, 03:01 PM   #2
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,758

Rep: Reputation: 77
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,

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


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 / 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 > Forums > Enterprise Linux Forums > Linux - Enterprise

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

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