LinuxQuestions.org
Review your favorite Linux distribution.
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 09-07-2011, 12:10 AM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 486

Rep: Reputation: 36
change file permission including subdirectories


My site files' permission is messed, so could not load any image files.

The web hostimg company said republish every files through ftp, then the permission problem should be fixed.

But about 80% of files are uploaded, unfortunatelly I could not see any image files on web page.

So, is there any program or script which change permission of program files - especially for php ( 755 to 644)?
 
Old 09-07-2011, 12:28 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hello,

Have a look at the man page for chmod:
Code:
man chmod
which can be used recursively to descend into subdirectories. Also check ownership of the files to see that the correct user has permissions.

Kind regards,

Eric
 
1 members found this post helpful.
  


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
RAR not including subdirectories. WARNING NO FILES becoolufull Linux - Newbie 1 10-19-2010 08:47 PM
RAR not including subdirectories. WARNING NO FILES becoolufull Linux - Software 2 10-19-2010 11:05 AM
Any log file for checking file permission change history in RHEL 5.1? bilalcochin Linux - Newbie 3 04-02-2010 09:57 AM
FTP transfer including subdirectories for Linux Redhat 7.2 asaba Linux - Software 2 11-04-2004 02:17 AM


All times are GMT -5. The time now is 08:47 PM.

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