hoangduit / editease

Automatically exported from code.google.com/p/editease
0 stars 0 forks source link

Cannot delete or rename files on Windows Server (Windows permissions) #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I don't know if there is a fix. This is more of a help guide for other people 
using editease on a Windows server rather than a *nix server.

This is FOR WINDOWS ONLY! If you are having problems on *nix (linux or unix), 
you will need to set permissions as described in the install file.

What steps will reproduce the problem?
1. Install editease on a Windows web server
2. Click the "online File Manager" button (upper right - folder icon with a 
magnifying glass)
3. Any files (including the ee-logo-f.png and uses-jq.png) have neither the 
delete file icon (red X), nor the rename file icon (paper with pencil).

What is the expected output? What do you see instead?
I expect to see the the delete file icon (red X) and the rename file icon 
(paper with pencil) for each file. Instead they are missing.

What version of the product are you using? On what operating system?
editease 1.5.1 on Windows Server

Please provide any additional information below.
I have set the file permissions correctly by giving Internet Guest Account 
(servername\ISR_servername) "modify" permissions to the "files" folder and the 
"inc" folder. But due to the way Windows does permissions, it always returns 
666 for files and 777 for folders no matter what. I had to replace lines 
170-173 with lines 164-167. Then it works. It is a hack, but it works. See 
attached [fixed] file.

If anyone has knowledge of how to retrieve and check permissions from Windows 
server, please chime in.

Original issue reported on code.google.com by noahz...@gmail.com on 13 Jul 2011 at 3:06

Attachments: