LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

Reply
 
Search this Thread
Old 02-13-2012, 05:12 PM   #1
infoslaw
Member
 
Registered: Oct 2011
Location: Belfast
Distribution: Debian amd64 Wheezy KDE
Posts: 61

Rep: Reputation: Disabled
Smile 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.
Slav
 
Old 02-14-2012, 07:35 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
Old 02-15-2012, 10:07 AM   #3
infoslaw
Member
 
Registered: Oct 2011
Location: Belfast
Distribution: Debian amd64 Wheezy KDE
Posts: 61

Original Poster
Rep: Reputation: Disabled
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.
 
Old 02-15-2012, 11:29 AM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
Old 02-16-2012, 04:03 PM   #5
infoslaw
Member
 
Registered: Oct 2011
Location: Belfast
Distribution: Debian amd64 Wheezy KDE
Posts: 61

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply

Tags
format, permissions, user


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Various user privilege problems after upgrading to Debian Wheezy KGyST Linux - Software 3 05-01-2012 02:16 PM
[SOLVED] Newly installed debian sid & saved debian wheezy home would like to transfer files EDDY1 Linux - Newbie 11 01-20-2012 07:43 PM
LXer: Debian to offer MultiArch support with Debian Wheezy 7 in 2013 LXer Syndicated Linux News 0 08-11-2011 01:50 AM
How do add user permission to ~/.ICEauthority or /tmp/.ICE-unix ?? NightSky Linux - Software 3 03-18-2008 05:56 PM
Add User Permission to Directory anjanesh Linux - Newbie 3 12-29-2007 10:28 AM


All times are GMT -5. The time now is 07:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration