Why are some files in public directory showing forbidden?











up vote
0
down vote

favorite












An ftp user uploaded some image files and I mv them from his uploads Directory to virtualhost directory with other files that display online but these files do not display online Apache shows 403 forbidden.



I tried chown to change the ownership from that user but still they won't display. When I upload files to the same Directory they work fine. I don't get it










share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    can you send listings of both ftp user's and your files to compare, eg. ls -al ? did you verify .htaccess for rules which may forbid access?
    – maoizm
    Nov 14 at 13:12










  • Here we see read write access is different but I don't understand it enough to know why these files won't share online... Also I know someone will yell at me for using root...
    – Adam
    Nov 16 at 14:18










  • rw-r--r-- 1 root root 70938 Aug 1 13:04 WWE.us.png -rw-r--r-- 1 root root 30280 Aug 1 13:04 YESNetwork.us.png -rw-r--r-- 1 root root 5705 Aug 1 13:04 YesTV.us.png -rw------- 1 jayzee jayzee 45231 Nov 12 11:41 AtlantaHawks.us.png -rw------- 1 jayzee jayzee 72189 Nov 12 11:41 BostonCeltics.us.png
    – Adam
    Nov 16 at 14:20















up vote
0
down vote

favorite












An ftp user uploaded some image files and I mv them from his uploads Directory to virtualhost directory with other files that display online but these files do not display online Apache shows 403 forbidden.



I tried chown to change the ownership from that user but still they won't display. When I upload files to the same Directory they work fine. I don't get it










share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1




    can you send listings of both ftp user's and your files to compare, eg. ls -al ? did you verify .htaccess for rules which may forbid access?
    – maoizm
    Nov 14 at 13:12










  • Here we see read write access is different but I don't understand it enough to know why these files won't share online... Also I know someone will yell at me for using root...
    – Adam
    Nov 16 at 14:18










  • rw-r--r-- 1 root root 70938 Aug 1 13:04 WWE.us.png -rw-r--r-- 1 root root 30280 Aug 1 13:04 YESNetwork.us.png -rw-r--r-- 1 root root 5705 Aug 1 13:04 YesTV.us.png -rw------- 1 jayzee jayzee 45231 Nov 12 11:41 AtlantaHawks.us.png -rw------- 1 jayzee jayzee 72189 Nov 12 11:41 BostonCeltics.us.png
    – Adam
    Nov 16 at 14:20













up vote
0
down vote

favorite









up vote
0
down vote

favorite











An ftp user uploaded some image files and I mv them from his uploads Directory to virtualhost directory with other files that display online but these files do not display online Apache shows 403 forbidden.



I tried chown to change the ownership from that user but still they won't display. When I upload files to the same Directory they work fine. I don't get it










share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











An ftp user uploaded some image files and I mv them from his uploads Directory to virtualhost directory with other files that display online but these files do not display online Apache shows 403 forbidden.



I tried chown to change the ownership from that user but still they won't display. When I upload files to the same Directory they work fine. I don't get it







apache-http-server






share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Nov 14 at 13:21









Ahmed Ashour

986610




986610






New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Nov 14 at 12:52









Adam

1




1




New contributor




Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Adam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1




    can you send listings of both ftp user's and your files to compare, eg. ls -al ? did you verify .htaccess for rules which may forbid access?
    – maoizm
    Nov 14 at 13:12










  • Here we see read write access is different but I don't understand it enough to know why these files won't share online... Also I know someone will yell at me for using root...
    – Adam
    Nov 16 at 14:18










  • rw-r--r-- 1 root root 70938 Aug 1 13:04 WWE.us.png -rw-r--r-- 1 root root 30280 Aug 1 13:04 YESNetwork.us.png -rw-r--r-- 1 root root 5705 Aug 1 13:04 YesTV.us.png -rw------- 1 jayzee jayzee 45231 Nov 12 11:41 AtlantaHawks.us.png -rw------- 1 jayzee jayzee 72189 Nov 12 11:41 BostonCeltics.us.png
    – Adam
    Nov 16 at 14:20














  • 1




    can you send listings of both ftp user's and your files to compare, eg. ls -al ? did you verify .htaccess for rules which may forbid access?
    – maoizm
    Nov 14 at 13:12










  • Here we see read write access is different but I don't understand it enough to know why these files won't share online... Also I know someone will yell at me for using root...
    – Adam
    Nov 16 at 14:18










  • rw-r--r-- 1 root root 70938 Aug 1 13:04 WWE.us.png -rw-r--r-- 1 root root 30280 Aug 1 13:04 YESNetwork.us.png -rw-r--r-- 1 root root 5705 Aug 1 13:04 YesTV.us.png -rw------- 1 jayzee jayzee 45231 Nov 12 11:41 AtlantaHawks.us.png -rw------- 1 jayzee jayzee 72189 Nov 12 11:41 BostonCeltics.us.png
    – Adam
    Nov 16 at 14:20








1




1




can you send listings of both ftp user's and your files to compare, eg. ls -al ? did you verify .htaccess for rules which may forbid access?
– maoizm
Nov 14 at 13:12




can you send listings of both ftp user's and your files to compare, eg. ls -al ? did you verify .htaccess for rules which may forbid access?
– maoizm
Nov 14 at 13:12












Here we see read write access is different but I don't understand it enough to know why these files won't share online... Also I know someone will yell at me for using root...
– Adam
Nov 16 at 14:18




Here we see read write access is different but I don't understand it enough to know why these files won't share online... Also I know someone will yell at me for using root...
– Adam
Nov 16 at 14:18












rw-r--r-- 1 root root 70938 Aug 1 13:04 WWE.us.png -rw-r--r-- 1 root root 30280 Aug 1 13:04 YESNetwork.us.png -rw-r--r-- 1 root root 5705 Aug 1 13:04 YesTV.us.png -rw------- 1 jayzee jayzee 45231 Nov 12 11:41 AtlantaHawks.us.png -rw------- 1 jayzee jayzee 72189 Nov 12 11:41 BostonCeltics.us.png
– Adam
Nov 16 at 14:20




rw-r--r-- 1 root root 70938 Aug 1 13:04 WWE.us.png -rw-r--r-- 1 root root 30280 Aug 1 13:04 YESNetwork.us.png -rw-r--r-- 1 root root 5705 Aug 1 13:04 YesTV.us.png -rw------- 1 jayzee jayzee 45231 Nov 12 11:41 AtlantaHawks.us.png -rw------- 1 jayzee jayzee 72189 Nov 12 11:41 BostonCeltics.us.png
– Adam
Nov 16 at 14:20















active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






Adam is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375305%2fwhy-are-some-files-in-public-directory-showing-forbidden%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes








Adam is a new contributor. Be nice, and check out our Code of Conduct.










 

draft saved


draft discarded


















Adam is a new contributor. Be nice, and check out our Code of Conduct.













Adam is a new contributor. Be nice, and check out our Code of Conduct.












Adam is a new contributor. Be nice, and check out our Code of Conduct.















 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1375305%2fwhy-are-some-files-in-public-directory-showing-forbidden%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix