angular-filemanager icon indicating copy to clipboard operation
angular-filemanager copied to clipboard

CHMOD Permission change brakes file permissions in Local PHP Bridge

Open jrondorf opened this issue 8 years ago • 6 comments

Hi @durasj

have you examined the behaviour, that, if you change permissions to lets say 777, you end up with a file, which has 000?

I tested this with 2 different hosting companies, and after changing the permissions, I was not able to access the file any more through filemanager. With my FTP tool, I've seen that 000 was applied.

Also on another file, which was 777 (set by the FTP tool), I changed to maybe 757, bur nothing was changed.

Any idea what could be the problem here?

jrondorf avatar Jun 22 '16 15:06 jrondorf

Hello,

could you maybe find out what OS was used? Unfortunately, I don't use permission feature at all and I checked if it works just by doing some simple change I think ... Maybe it has something to do with the octal=>decimal conversion. That could be the problem.

durasj avatar Jun 22 '16 15:06 durasj

Hey @durasj maybe this approach will be more easily https://github.com/kernel164/gofe/blob/master/main.go#L127 (this is a angular-filemanager GO bridge)

joni2back avatar Jun 22 '16 15:06 joni2back

@durasj All info I have from phpinfo is:

  • Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
  • Linux camellia.ispgateway.de 2.6.32.53-grsec-pvops-xen-x64 #5 SMP Fri Jun 13 13:46:07 CEST 2014 x86_64

jrondorf avatar Jun 22 '16 16:06 jrondorf

Hey @joni2back and @jrondorf, Linux should be OK, I will try to do something on my debian box soon.

Thanks @joni2back for the link!

durasj avatar Jun 22 '16 16:06 durasj

Hi @durasj, is that solved to close?

joni2back avatar Jul 28 '16 12:07 joni2back

Hi @joni2back ,

I think it's not. I was not able to test it. I hope someone else will be able to take a look at it.

Thank you!

durasj avatar Jul 30 '16 11:07 durasj