Page 1 of 1

connecting to localhost and changing file permissions

Posted: 2011-06-12 18:00
by keyaspects
Hi,

I'm trying to change the file permission of file. (to be specific, it's the numbers for a .htaccess file.)

I can do this when I connect to a Remote Site. (right hand box/window in filezilla)

My problem is, the file I wish to change is on my local computer.(which currently appears in the left hand box/window) Local Site:

How do I connect to my local computer so that is appears as a Remote Site - is that actually possible.

i.e. what info.

I have tried the following but get an error:
host: 'localhost'
port: 'left is blank'
protocol: ftp
encryption: plain ftp
logon type: normal
user: 'mysql user name'
password: 'mysql password'


Any help would be appreciated, thanks.

Re: connecting to localhost and changing file permissions

Posted: 2011-06-12 22:51
by boco
How do I connect to my local computer so that is appears as a Remote Site - is that actually possible.
Only by running an FTP or SFTP server on your machine. Depending on your OS, the following is true:

Windows: Windows does not support UNIX-like permissions (CHMOD) at all.

UNIX-like OS: While you theoretically could CHMOD through the FTP server (if it even supports it), you're far better off simply using a shell like bash to issue the CHMOD command.


Also note that FTP has NOTHING AT ALL to do with MySQL. MySQL is something completely different.

Re: connecting to localhost and changing file permissions

Posted: 2011-06-13 09:12
by abcclas.com
keyaspects wrote:Hi,

I'm trying to change the file permission of file. (to be specific, it's the numbers for a .htaccess file.)

I can do this when I connect to a Remote Site. (right hand box/window in filezilla)

My problem is, the file I wish to change is on my local computer.(which currently appears in the left hand box/window) Local Site:

How do I connect to my local computer so that is appears as a Remote Site - is that actually possible.

i.e. what info.

I have tried the following but get an error:
host: 'localhost'
port: 'left is blank'
protocol: ftp
encryption: plain ftp
logon type: normal
user: 'mysql user name'
password: 'mysql password'


Any help would be appreciated, thanks.
review that:

http://support.microsoft.com/kb/308419/en-us

Re: connecting to localhost and changing file permissions

Posted: 2011-06-13 10:52
by keyaspects
Thanks guys, I should have really mentioned I'm on a Mac. (Snow Leopard) OS X 10.6 :|

So, apart from filezilla - is than another way I can change the file permissions (changing the numbers - not just read and write via getinfo on a mac)

Re: connecting to localhost and changing file permissions

Posted: 2011-06-14 01:10
by boco
MacOS is a UNIX-like OS. Doesn't it know the CHMOD command at the command line?