Forum Groups
  All forums
    Help & Feedback
      Questions
      Work in progress
      Finished Art
      Non-Max related
    Community
      Offtopic
      News
    Hardware
    Photography



Maxunderground news unavailable

FTP server
show user profile  zeefusion
Ok I got a few issues and I wondered if any one could help :)

I purchased a NAS drive (NSA 310) I use this as my primary drive for work. I have also set up FTP access to this drive so that I can access it anywhere on the go. Firstly is this a bad idea? Its password protected but is it secure? advice?

I then signed up to no-iphttp://www.no-ip.com/.
I believe this allows for a static name for a dynamic IP address. I can log in to my ftp using the no-ip just fine. No problems there.

I now wish to backup my website to my ftp server. I purchased backupbuddyhttp://pluginbuddy.com/purchase/backupbuddy/
and when trying to start backup it says check file path and permissions. I know the file path is correct its ftp://mychosenname.no-ip.org/backup/website how ever I am not sure on permissions.

I have read on the help forums for backupbuddy that permissions for the ftp folder should be 755. So using FileZillahttp://filezilla-project.org/
i logged onto my ftp using ftp://mychosenname.no-ip.org. I'm in I can see my NAS drive which is sat at home.

I browse to backup/website and right click the folder and choose permission properties. it says its set to 777. I then change it 755, but it auto changed back to 777 when I refresh. At this point I am lost and I don't know what I am doing. I have all this new tech and its frustrating.
read 625 times
12/20/2011 4:19:08 PM (last edit: 12/20/2011 4:19:08 PM)
show user profile  killerbee2
I'm using a couple of tools depending on the task I want to perform :

- teamviewer : allows vpn, remote control, filetransfer (free out of commercial use)
- tonido : great for remote file access (also with pad & phone application)

Both are easily to configure to go around your router or dynamic ip adresses.
So it's not exactly an answer to your ftp thing but it does the trick when you need to transfer files without having to setup servers etc.




read 603 times
12/20/2011 6:24:04 PM (last edit: 12/20/2011 6:24:04 PM)
show user profile  Kajico
eeesh 777 is not the right way of doing things. as long as the user is the owner of the directory the files are being saved too and no other users are in that group or have access to that drive then there should be no errors. 750 should be more than sufficient, in some cases 755 but 777, nope.

ftp://mychosenname.no-ip.org/backup/website should not be your file path

mychosenname.no-ip.org is your server address, when backup buddy logs on to your server it will want to change directory to the path you give it. Assuming it logs on to your root folder and you have a subfolder called backup then the path you give it in the path field would be

backup/website/

or

/backup/website

either one should work really depends on the syntax used by php to connect.

for redundancy you could also setup S3 and Cloud Files backups.


(\/) (°,,,°) (\/) Woop woop woop!




read 596 times
12/20/2011 6:49:22 PM (last edit: 12/20/2011 6:50:04 PM)
show user profile  zeefusion
I got it working, messed around with the ftp settings and it worked. But its still at 777. what's the difference between 777, 775 etc?
read 592 times
12/20/2011 6:56:53 PM (last edit: 12/20/2011 6:56:53 PM)
show user profile  Kajico
This is hard to get if you're a linux noob but. Basically the 3 "7"s means that everyone has access to that folder and file. The break up works like this.

In Linux (or any Unix system) there is a file/folder access groups.

There's
Owner (the user that created the file/folder)
Group (a group of owners who are granted access to a file/folder)
Other/World/Everyone else (users not in a group and not the owner).

Each access group has these access levels defined by bits represented as either alpha values or numerical values that match the access level.

1 - Execute
2 - Write
4 - Read

add all three up and you get 7, full access read/write/execute (also shown as rwx)

So the difference between 777 and 755 or 775 are this.

777 - Owner(RWX),Group(RWX),Other(RWX)
755 - Owner(RWX),Group(RX),Other(RX)
775 - Owner(RWX),Group(RWX),Other(RX)

755 just means only owner has full grants, Group and Other only get to read and execute files, but they can't write their own files there.


More indepth article http://www.linuxquestions.org/linux/answers/Security/Quick_and_Dirty_Guide_to_Linux_File_Permissions

Also, some windows systems running FTP software like Filezilla server will make it seem like the folder is set to 777 but in reality it is not. BTW, connecting over FTP using any FTP server sends your password in plaintext so I'd make doubly sure the password you're using you don't use it on other services.


(\/) (°,,,°) (\/) Woop woop woop!




read 584 times
12/20/2011 7:14:48 PM (last edit: 12/20/2011 7:17:21 PM)
show user profile  zeefusion
Thanks :)
read 570 times
12/20/2011 7:58:32 PM (last edit: 12/20/2011 7:58:32 PM)
#Maxforums IRC
Open chat window


Support Maxforums.org