How many times have you edited a file in Vim, made your changes and then realised you don't have write permissions when it comes to save it. Well if you do it again, this tip is for you. You CAN save the file using this command: PLAIN TEXT CODE: :w !sudo tee % Lifesaver! This [...]
Archive: permissions
Posts Tagged ‘permissions’
March 8, 2011
No Comments
July 30, 2010
No Comments
If you are working in Linux and need to set some more complex permissions than the straight user, group everyone RWX style, then you can. Working in Ubuntu, you need to first of all install ACL PLAIN TEXT CODE: sudo apt-get install acl Now before you can use ACL, you need to enable it on [...]
January 4, 2010
No Comments
If you need to be able to write to a folder with PHP but you do not want to have to use 777 permissions then instead you have the option to use access control lists. This simple command will allow you to give permissions to Apache only, whilst keeping the standard permissions secure (eg 770) [...]
Categories:
Archive by date: