Ubuntu: Unable to create new folders on Ubuntu and Permissions tab is all greyed out



Question:

I freshly installed Ubuntu with lighttpd; I want to add a test file to check if my server works or not.

I am, however, unable to create files: when I right clicked and opened the "Permissions" tab I don't have any options which can be changed, everything is grayed out and it says root is the owner to the files.

How do I set the appropriate permissions?


Solution:1

Where do you want to create a new folder?

By the way, always you can do as root by running a command in terminal by using Sudo:

sudo mkdir you_folder_name  


Solution:2

If you want to change the ownership of the folder, use:

chown <new owner's user name>[:group] <folder>.

To recursively assign new ownership on a folder and it's contents, Use chown -R <new owner's user name>:[group] <folder>


Solution:3

if you want to create new folder you can log in as root.

sudo -s  

and create new folder where do you want. Or you can try this command:

sudo mkdir folder_name  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »