LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-08-2003, 02:27 PM   #1
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Rep: Reputation: 15
html permissions


I am ready to scream... I have been experiecing a problem with permissions to the html directory. Something keeps changing it from 755 to rwx for owner only. I have changed it back to 755 several times only to find that that something is changing it back to rwx for owner only. I suspect that it has something to do with filemanager. Could that be? ANy thoughts or ideas would be welcome.
 
Old 10-09-2003, 01:44 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
I'm a little confused. A chmod of 755 will indeed give rxw to the owner only. The group and world permissions should be read and execute. Could you explain the problem for us a bit better, or where the confusion is for you?

Cool
 
Old 10-09-2003, 11:38 AM   #3
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Original Poster
Rep: Reputation: 15
ok.. here is the mind boggling issue.
drwx------ 83 apache html 4096 Oct 2 07:18 html/
I change the permissions to the html directory to 755 and something changes it back to rwx for owner and no permissions for group and other users. AM i correct by saying html must be owned by apache and permissions set to 755 for others to access html files. I don't know what is changing the permissions.
ANy slick tools to find out whats going on? Thanks for the reply.
 
Old 10-09-2003, 11:44 AM   #4
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Original Poster
Rep: Reputation: 15
drwxr-xr-x 83 apache html 4096 Oct 2 07:18 html/
This is the permissions for html after I chmod 755 html/
something is changing the permissions for the group and other users where they can't access the html pages.
 
Old 10-22-2003, 06:16 PM   #5
chutch
LQ Newbie
 
Registered: Oct 2003
Location: Southern California
Posts: 1

Rep: Reputation: 0
unable to chmod

I'm guessing here, but since you didn't indicate the commands or user you are using, I'd guess that you do not have permissions to chmod those files. The system will ignore, or "change back" any permissions you try to change if you are not authorized to make the change. Are you remembering to su to root before you issue the chmod command? Try issuing the command with the -v option, to enable verbose.

Chuck
 
Old 10-23-2003, 09:35 AM   #6
AZDAVE
Member
 
Registered: Aug 2003
Posts: 82

Original Poster
Rep: Reputation: 15
I was root when I made the changes. It was a hourly cron job that was changing it. It took some doing but I figured it out as to why. Thanks for the reply ...
 
  


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
saving html from windows editor looses permissions aryehb Linux - Newbie 4 03-24-2005 02:20 PM
Konqueror + file:/usr/share/doc/HTML/index.html jon_k Linux - Software 2 11-25-2003 05:06 AM
HTML permissions narendra_i Linux - Security 1 11-17-2003 11:27 AM
HTML file permissions What is better? supertechmyers Linux - Security 5 11-12-2003 11:29 AM
user/group permissions for /var/www/html/ illtbagu Linux - Software 6 11-12-2003 05:29 AM


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