Koozali.org: home of the SME Server

Can't get files from being read-only

Scartie

Can't get files from being read-only
« on: November 08, 2006, 05:30:07 PM »
I'm running SME as a web-server behind a router, and i'm trying to put a phpbb forum on it.

I've transferd the files to the Primary\html folder and when i go to the site i get the installation menu of phpbb, the only problem is that i have to set some directory's from read-only to read/write access.

Problem is that when i do this with FlashFXP i get this error:

Code: [Select]

[R] 150 Opening ASCII mode data connection for file list
[R] 226 Transfer complete.
[R] Lijst voltooid: 1 KB in 0,05 secondes (36,7 KB/s)
[R] SITE CHMOD 770 /ibays/Primary/html/store
[R] 550 /ibays/Primary/html/store: Permission denied
[R] PASV
[R] 227 Entering Passive Mode (192,168,xxx,xxx,133,252).
[R] Openen van data verbinding ADRES: 192.168.xxx.xxx POORT: 34300
[R] LIST -al


And when i do it with windows all the files get changed but when i click them again they are again tagged read-only.

Is this a problem within SME 7 or do i have to do something within SME 7

Hope that you can help me.

Scartie

Can't get files from being read-only
« Reply #1 on: November 10, 2006, 04:29:42 PM »
Is there nobody who can explain to me how to change read-only files to read/write files?

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Can't get files from being read-only
« Reply #2 on: November 10, 2006, 10:07:21 PM »
Scartie

> .... I have to set some directory's from read-only to read/write access.

log in to your sme command prompt as root or as a user with root or su privileges
then do
chmod 770 /home/e-smith/files/ibays/Primary/html/store
...

Scartie

Can't get files from being read-only
« Reply #3 on: November 11, 2006, 02:54:14 PM »
ok thanks that worked.

Scartie

Can't get files from being read-only
« Reply #4 on: November 14, 2006, 08:37:57 PM »
Now i got another question about files and permissions, why is it that when i upload some files to my primary ibay that some of the files turn to non-deleteable?

I did the following thing:

I uploaded phpbb 3.0 beta to my primary ibay for some testing purpose, but now when i try to delete the contense on the server i end up with some files with the permissions set so that i can't delete them with flashFXP.

(Ps. i can delete them with windows).

Is there a setting within SME so that i can delete thru FTP and so that the files that i upload/copy have read/write acces set?