|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (11 bit)
Join Date: Aug 2003
Location: NJ
Posts: 1,099
|
I am trying to change the chmod permission of a php file to 777 using Cuteftp Pro 3.3. I know how to change it but it looks like the server won't let me.
I right click on the file, choose chmod/properties, type 777 into permission field, click apply, click ok. Then if I right click on the same file and check it's properties it is set back to 644 (or was it 604...it's definitely not 777). It reverts back to it's original chmod property. I searched google and couldn't find anything useful except contact the webhost server admin and ask to change the permissions for me or allow me to change it. Am I missing something? I really don't want to contact the server admin since the firm is from Denmark and I don't know Danish.
__________________
P4 2.6C @ 3.12 || ASUS P4C800-E Dlx || Antec SOHO File Server w/ 5 case fans || Antec TruePower 430w PSU || 2 x 512MB Crucial PC3200 DDR || 280GB of total storage 7200rpm ATA100 8mb cache || LiteOn CDRW 52x32x52 || LiteOn DVD+/-RW SOHW-812S || WinXP Pro || Solarism 15" TFT LCD || 500VA TrippLite UPS || Logitech MX-700 Duo || ATI 9800 AIW || Sennheiser HD-555 |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
are you the owner of the file? you can't change the file permissions if you aren't the owner.
|
|
|
|
|
|
#3 |
|
Member (11 bit)
Join Date: Aug 2003
Location: NJ
Posts: 1,099
|
How would I know if I am the owner? I uploaded the file myself. According to CuteFtp, the owner is "user." The username I use to sign in is different than that. Do I have to login as "user" to change the property?
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
I've never used CuteFtp before, is it possible for you to execute commands on the server-side?
the cammand to get the file owner username is: ls -l filename |
|
|
|
|
|
#5 |
|
Member (11 bit)
Join Date: Aug 2003
Location: NJ
Posts: 1,099
|
I don't think I can execute commands on the server side. Is there a way for me to change the owner of the file? Thanks.
|
|
|
|
|
|
#6 |
|
Registered User
Join Date: Nov 2001
Posts: 1,965
|
I'm sorry I don't have CuteFtp, so I don't know, maybe someone else can help.
|
|
|
|
|
|
#7 |
|
Premium Member
Join Date: Jun 1999
Posts: 9,231
|
In a short answer yes you will need to log in as "user" to be able to change permissions. This may / may not be possible depending on who created the file in the first place. You will need to contact your webmaster to have the permissions changed if you cannot log in as user. Who created the file? Did you create/store it on there or was it there previously or is it a file created as a result of some other PHP file that you ran?
|
|
|
|
|
|
#8 |
|
Member (11 bit)
Join Date: Aug 2003
Location: NJ
Posts: 1,099
|
I uploaded the files myself. I can edit the same files on a different server. In fact, I uploaded and edited the same files on 4 different servers. This is the 1st time it happened.
...Maybe it's because all the servers before are located in the US. This particular server is in Denmark
|
|
|
|
|
|
#9 |
|
Member (11 bit)
Join Date: Aug 2003
Location: NJ
Posts: 1,099
|
The problem is caused by the OS. They server is running in in Windows not Unix (why?). They would have to change the chmod properties for me I think
|
|
|
|
|
|
#10 | |
|
Member (13 bit)
|
777 = world, group, owner read/write/execute
So the equivalent in Windows would be to give full permission to the file to "everyone" for read/write/modify. Unfortunately you're right, if the server is running Windows/IIS/Microsoft FTP, there is no support for changing file permissions remotely. Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|