DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all, I have just installed debian OS and I can't create new folders or files. how can I change my user privialges in order to create folders and change files.
During the install you have been asked to create a user account (or more than one...)?
You are now logged in as that user?
In that case you can only modify files in your /home/<username> directory and in /tmp .
For modifying anything else you need to become "root"
Eighter log in as root on the console or use: su - to become "root" temporarily.
Hi all, I have just installed Debian OS and I can't create new folders or files. How can I change my user privileges in order to create folders and change files?
Most people use "sudo mkdir <dirname>" to create subdirectories in directories that are owned by root.
Another thing you can do is "sudo passwd root" and set the root password to something you know. Then you can "su root" or "sudo bash" and get root access.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.