Click to See Complete Forum and Search --> : Server permissions


SFADuncan
04-28-2005, 05:54 AM
Hi All...

Anyone with any insight on this?

We have written some content management software which relies on the ability to copy images from one directory to another. With permissions of 705 on the domain this is not possible. At 707 it is possible.

What's the difference between the two persmissions? Whereby 705 won't allow images to be copied between directories, yet 707 no problem? Any chance of a simple rewrite to get around the problem?

This is the first time we have encountered this problem. However, our current client rents space from oneandone.co.uk who are so far refusing to allow us to amend permissions on the domain.

We operate this software using many different server companies but have not come across this problem before. We would rather not have our client leave 1and1 as this takes time, and the rest of the service is ok.

Simon

AdamGundry
05-01-2005, 08:53 AM
This page (http://www.perlfect.com/articles/chmod.shtml) explains the permissions system. A 707 means "full access for the owner, no access for others in the owners' group and full access for others". This is quite unusual, more common would be 777 which means "full access for everybody". A 705 is similar, except it denies the write permission for others, and that's where you're problem is.

Permissions apply to directories, not domains. The directory you are trying to copy into (that is, write to) presumably has the 705 permission, and your CMS is running under a user other than the owner, so it does not have write access to the directory. You should be able to change the permissions for the directory with an FTP or SSH client, or you might be able to run the CMS as the user which owns the directory.

Which 1and1 package is your client using? I've used their (UK) Business and Professional packages for a few years, and not had any similar problems with permissions.

Adam

SFADuncan
05-03-2005, 05:20 PM
Thanks.. that was very helpful... problem solved... I've used permissions for a while without really understanding the process...!