![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Civilians | I have this problem and I thought maybe I could get some answers here faster than on the scripts help forum. I have this directory and the files in it which I cannot change permissions on, rename, delete etc. I have tried via FTP and via Cpanel with no luck. Anyone have any tricks up their sleeve for getting around this? I also want to be able to upload an .htaccess file to this directory but I can't do that either due to permission settings which I can't change. *grrrrrrrrrr* Heidi |
|
| | #2 (permalink) |
| Civilians | Heidi wrote: > Viper wrote: > : Your host will have to chnage the permissions back to you. > > I am my host :p > > heidi You can get root (or similar priviledges)?, then it's easy, if not, they you are not your host :-D How did you create those files in the first place? It you did it with a CGI (or PHP) script, you might be able to delete them using this CGI script (or PHP). Can you post the output of ls -al of the directory with the files? -- John Perl SEO tools: http://johnbokma.com/perl/ Experienced (web) developer: http://castleamber.com/ Get a SEO report of your site for just 100 USD: http://johnbokma.com/websitedesign/seo-expert-help.html |
|
| | #3 (permalink) |
| Civilians | Heidi wrote: > Viper wrote: >> Your host will have to chnage the permissions back to you. > > I am my host :p > > heidi If you got root access.. and what John tells you doesnt work check this page out.. http://www.computerhope.com/unix/uchown.htm |
|
| | #4 (permalink) |
| Civilians | John Bokma wrote: : How did you create those files in the first place? It you did it with : a CGI (or PHP) script, you might be able to delete them using this CGI : script (or PHP). It was a PHP script that created that directory etc. for the upload of files. It is in use for the upload of files but there are some files that are not in use and I can't remove them because of permissions. Heidi |
|
| | #6 (permalink) |
| Civilians | Heidi wrote: > John Bokma wrote: > : How did you create those files in the first place? It you did it > : with a CGI (or PHP) script, you might be able to delete them using > : this CGI script (or PHP). > > It was a PHP script that created that directory etc. for the upload of > files. > It is in use for the upload of files but there are some files that are > not in use > and I can't remove them because of permissions. write a PHP script that deletes them: <?php unlink( "path/to/file" ); ?> make sure you remove such one time hacks, or at least make very sure you are the only one that can use them... -- John Perl SEO tools: http://johnbokma.com/perl/ Experienced (web) developer: http://castleamber.com/ Get a SEO report of your site for just 100 USD: http://johnbokma.com/websitedesign/seo-expert-help.html |
|
| | #7 (permalink) |
| Civilians | In article <IfCee.40435$AE6.26432@tornado.texas.rr.com>, blackcat2l@gmail.com says... > John Bokma wrote: > : How did you create those files in the first place? It you did it with > : a CGI (or PHP) script, you might be able to delete them using this CGI > : script (or PHP). > > It was a PHP script that created that directory etc. for the upload of > files. > It is in use for the upload of files but there are some files that are not > in use > and I can't remove them because of permissions. There are functions in PHP that let you change the permissions: chmod, chown, and chgrp. -- Hywel |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: cannot start copier due to missing file or directory | Mike Glen | Microsoft Applications | 0 | 10-16-2005 10:05 |
| BUG: CHM file parse failure due to # sign in directory name | a non e mouse | Web Design | 1 | 09-08-2005 04:00 |
| Server error: Cannot change permissions of file "usage_200505.html". | Jon | Web Design | 0 | 06-14-2005 00:00 |
| using current directory in the file path | Marles Mcdonald | Microsoft Applications | 1 | 06-16-2004 02:57 |
| Setting directory for file save in macro | Jake | Microsoft Applications | 7 | 06-15-2004 17:19 |
![]() | ![]() | ![]() |