[SOLVED] How to add format permission for user in Debian Wheezy?
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
How to add format permission for user in Debian Wheezy?
Hello Linux community!
Does anybody know how can I get format permission on user account?
Everytime before start Gparted or KDE partition manager system asking about root password and this I fully understand, but after formating device by partition manager (memory card, pendrive or hard disk) user get read only and root write only.
I tested on external pc and also read only (owner is root with write permission).
For example: when I run Linux Mint Gnome I have in quick hand menu available format option.
My question is do you know how to get this settings in Debian Wheezy KDE? Or alternative how can I format from user?
If I understand your question correctly, you can use the tools chown, chgrp, and chmod to assign permissions on any file, directory, or device node. In order to use those tools, you will need to already have the accordant permissions, so you will have to start out as root.
See the respective man pages for details.
By 'format' I assume you mean to create a filesystem. The governing factor in who may do this is the permissions & ownership of the device or partition on which you are trying to create the filesystem. Altering those parameters will control who is able to write to (create a filesystem) the particular device. In the case of removable devices, the permissions for the devices is probably set via udev rules and/or permissions set in /etc/fstab.