Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-08-2003, 07:34 PM   #1
Registered: Nov 2003
Posts: 46

Rep: Reputation: 15
Setting permissions to files.

bash-2.05b$ ls -la /var/www/cgi-bin
total 20
drwxrwxrwx 2 root root 4096 Dec 4 13:03 .
drwxrwxrwx 7 root root 4096 Dec 4 11:04 ..
-rw-r--r-- 1 mike mike 793 Dec 4 11:10 index.cgi
-rw-r--r-- 1 mike mike 803 Dec 4 19:44 INDEX.CGI
-rwxr-xr-x 1 root root 1075 Sep 15 21:55 test.cgi

I am trying to make the permissions of index.cgi the same as test.cgi. Does anybody know the command?
Old 12-08-2003, 08:09 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
chown root.root index.cgi

chmod 755 index.cgi


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
problems with setting permissions for groups of files liontamer13 Linux - Newbie 5 03-10-2005 01:16 AM
Setting permissions sammckee Linux - Newbie 9 09-18-2003 06:01 PM
setting permissions Tigger Linux - Security 1 06-09-2003 10:20 AM
Setting Permissions mythology Slackware 2 12-11-2002 03:14 AM
Setting up permissions rajaram Linux - Newbie 2 12-05-2001 03:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:36 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