LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 12-08-2003, 07:34 PM   #1
lonny
Member
 
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
bash-2.05b$

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
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

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

chmod 755 index.cgi
 
  


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


All times are GMT -5. The time now is 01:20 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration