Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-07-2003, 01:46 PM   #1
Member (11 bit)
 
james8547's Avatar
 
Join Date: Aug 2003
Location: NJ
Posts: 1,099
Boom Chmod permission problem

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
james8547 is offline   Reply With Quote
Old 09-07-2003, 05:12 PM   #2
aym
Registered User
 
aym's Avatar
 
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.
aym is offline   Reply With Quote
Old 09-07-2003, 05:45 PM   #3
Member (11 bit)
 
james8547's Avatar
 
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?
james8547 is offline   Reply With Quote
Old 09-07-2003, 05:49 PM   #4
aym
Registered User
 
aym's Avatar
 
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
aym is offline   Reply With Quote
Old 09-08-2003, 06:15 AM   #5
Member (11 bit)
 
james8547's Avatar
 
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.
james8547 is offline   Reply With Quote
Old 09-08-2003, 06:30 AM   #6
aym
Registered User
 
aym's Avatar
 
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.
aym is offline   Reply With Quote
Old 09-08-2003, 07:52 AM   #7
Premium Member
 
Statica's Avatar
 
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?
Statica is offline   Reply With Quote
Old 09-08-2003, 06:23 PM   #8
Member (11 bit)
 
james8547's Avatar
 
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
james8547 is offline   Reply With Quote
Old 09-09-2003, 06:59 AM   #9
Member (11 bit)
 
james8547's Avatar
 
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
james8547 is offline   Reply With Quote
Old 09-09-2003, 04:24 PM   #10
Member (13 bit)
 
Xayd's Avatar
 
Join Date: Jun 2000
Location: nowhere.com
Posts: 4,819
Send a message via AIM to Xayd
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:
They server is running in in Windows not Unix (why?).
Question for the ages, lol.
Xayd is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:00 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2