![]() If it was a trivial issue, I'd tell you the chmod/chown command to run, but because I know ZERO about this system, I cannot. Yes, I can SSH, it's just more convenient for me to use FileZilla, and it does use sftp.Īssuming I currently _CAN_ edit files using FileZilla, and I want to learn what I did in order to allow it to do so, what steps do I need to take? How can I tell what operations I did in order to make FileZilla be able to edit the files on /var/www? Let's say I want to revert it back to the beginning state, what do I need to do to make my server secured again?Īnd this is what I meant by "doing it everytime" - I don't mind to allow FileZilla edit files as long as it's temporary - every time I come to edit files, I give FileZilla the required permissions, then revert it back to a secured state - would love to know from you(An experienced person) how to do it, and also how to fix what I already did. This is a good opportunity to study because I probably messed up some permissions right now when I allowed FileZilla to edit files on my machine. Thank you, I understand what you say, but maybe I can also study doing trial and error, as I need now, especially learning from someone with experience like you. I just hope it is using sftp for the transfers and not some other protocol with effectively -1 security. People remotely administrate Linux systems world-wide without using filezilla daily. You may _want_ to use it, but it definitely is not any requirement. In 25 yrs, I've needed to use ACLs twice because normal Unix permissions didn't work.īTW, you do not **need** to use filezilla. There is also ACL permissions, but these raise an entire new set of issues. It just depends and only you can decide whether a 4, 5, 7 or 1 permission for the owner, group or other segments is workable. For example, see when 711 on a file is exactly what you want or 710. Now, create some temporary directories + files in /tmp/ for each userid, and try every possible combination of the permissions until the understanding becomes clear. ![]() Find a tutorial, follow it, then after you've mastered that, setup 3 new userids, 3 new groups, then mix and match which userids are in and not in each group. Files in the /var/There isn't any shortcut to gaining that knowledge. There's not single answer and I don't think filezilla or any other file transfer program is the solution to this problem. You can specify any editor you like, assuming it is installed on the remote system.įor editing non-system files, the file permissions control which userid or groups are allowed that capability. The safe way to edit system files on any Linux is to ssh into the machine, then use sudoedit. There are over 2 million wordpress blogs running today, now, that have been hacked. ![]() A common way "bad people" hack online blogs is due to incorrect file permissions. Changing them for convenience, especially on a system connected to the internet is not a good idea. ![]() File permissions are the cornerstone for all Unix system security. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |