Tag Info

New answers tagged

0

Simply give read and execute access to /var/www/ and read write and execute access to ucp cd /var/www/ chmod 777 ucp cd ../../ chmod 555 /var or even complicated by making execute access to /var/www but in this case you have to make sure that user will type a complete path to reach at ucp cd /var/www chmod 777 ucp cd ../../ chmod 111 /var Note:- ...


1

While Anthon's answer is technically correct, I'm writing this one to explain where Octal Permissions come from, and how to calculate them. Octal Permissions is one of the most important concepts in the *nix world. Why This Concept is Important Since the Birth of Unix Circa 1969 -1974 on a discarded DEC PDP-7 (see photo and history) and Linus Torvalds ...


3

For a user someusername to be able to write in folder, that was initially made by root, you need to change the rwx permissions and/or the owner resp. group. If you restrict the permissions then someusername needs to be either owner or group member. If you do chmod 777 /somefolder, everyone can read and write, including someusername. If you do chmod 770 ...


0

Edit: oops, sorry, I didn't saw that this topic was pretty old. Oh well, it can help other people.. I will complete rahmu's and MV's answers with a technical solution. Finding the web server username Firstly you will need to know the username under your web server runs. If you are using Apache, it can be apache or httpd, www-data, etc. On most Debian-like ...


0

I think the option user users or group while mountig will do it: mount /dev/sdx /<mountpoint> -o user=<myuser> or simmilar with the other options.


2

This is by far the most convenient, and is besides I believe, exactly what you asked for originally: http://ss64.com/osx/chmod.html It is fully interactive, though you cannot edit the string "-r-x-------" but you can the octal or the checkboxes. Doing either updates the other. From the same page: Numeric (absolute) mode: From one to four octal digits ...



Top 50 recent answers are included