-   Linux - Security (
-   -   How to add format permission for user in Debian Wheezy? (

infoslaw 02-13-2012 05:12 PM

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?

Thanks in advance.

theNbomr 02-14-2012 07:35 PM

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.

--- rod.

infoslaw 02-15-2012 10:07 AM

Hi Rod,

Thank you for your advice. Not exactly. I know that I can change permission for mount device, folder, etc.
My short question is: How to format portable device from user?

I know that must be any solution similar to Ubuntu distro. In Ubuntu user can format portable device (usb or memory card) without root password in the same get full permission.

theNbomr 02-15-2012 11:29 AM

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.

--- rod.

infoslaw 02-16-2012 04:03 PM

I solved in short way. I installed Gnome Disk Utility which let me format from user account and automatically get user write permission.

Recommend for everyone KDE user.

All times are GMT -5. The time now is 02:32 AM.