How to make your USB-stick/hard disk with vfat/ntfs/ext*/jfs/xfs/reiserfs partition writable

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Undo revision 3169 by Itycajofa (Talk))
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
=Introduction=
 
To be able to write/create files and folders to the USB device we need to make changes to the permissions of the partition.
 
To be able to write/create files and folders to the USB device we need to make changes to the permissions of the partition.
 +
=Fat16/32 and ntfs partitions=
 +
For fat16/32 and ntfs partitions this is not necessary as the user who mounts the partition has full access to the device.
  
For fat16/32 and ntfs partitions this is not necessary as the user who mount the partition has full access to the device.
+
As some files/directories can not be written to fat16/32 (for instance names containing ':') it is highly advisable '''not''' to use this format. Use ntfs for a Windows <-> Linux compatible format.
  
 +
=Ext2/3/4, jfs, xfs and reiserfs partitions=
 
For ext2, ext3, ext4, jfs, xfs, and reiserfs partitions we need to change the permissions in order to get write access.
 
For ext2, ext3, ext4, jfs, xfs, and reiserfs partitions we need to change the permissions in order to get write access.
 +
==Changing the permissions==
 +
As the permissions can only be changed with administrator privileges do:
  
The permissions can only be changed with administrator privileges.
+
In Pardus 2008 start System > More Applications > File Manager -Super User Mode.
  
In Pardus 2008 start System > File Manager (in administrator modus).
+
In Pardus 2009 start Dolphin (administrator mode) with Alt+F2 and enter
 
+
In Pardus 2009 use Alt+F2 and enter
+
 
  kdesu dbus-launch dolphin
 
  kdesu dbus-launch dolphin
and follow the numbers below.
+
and apply the following instructions.
[1] Mount partition.
+
:# Mount partition by selecting [1] the USB device.
[2] Right-click in the blank space to get the dialog window.
+
:# Right-click in the blank space [2] to get the dialog window.
[3] Select the Properties dialog.
+
:# Select the Properties dialog [3].
[4] Select the Permissions tab.
+
:# Select the Permissions tab [4].
[5] Set Owner: >> Can View & Modify Contents.
+
:# Set [5] Owner: >> Can View & Modify Contents .
[6] Set Others: >> Can View & Modify Contents.
+
:# Set [6] Others: >> Can View & Modify Contents.
[7] Set mark here to apply them to all folders and files.
+
:# Set mark here [7] to apply them to all folders and files.
[8] Apply changes here.
+
:# Apply changes here [8].
And umount the partition at [1].
+
And right-click > Safely Remove the partition at [1].
 +
 
 +
[[Image:Ext3-permissions-EN.png‎|600px|Perissions]]
  
[[Image:Ext4-permissions-EN.png‎|600px|Perissions]]
+
=Label=
 +
Set a label for the partition with KDE Partition Manager Partition Editor or GParted (if installed) in order to get a consistent name in Places and mounting point at /media/... in Dolphin. As an example see the "My own label" USB-partition in the image above [1].

Latest revision as of 14:30, 24 November 2010

Contents

Introduction

To be able to write/create files and folders to the USB device we need to make changes to the permissions of the partition.

Fat16/32 and ntfs partitions

For fat16/32 and ntfs partitions this is not necessary as the user who mounts the partition has full access to the device.

As some files/directories can not be written to fat16/32 (for instance names containing ':') it is highly advisable not to use this format. Use ntfs for a Windows <-> Linux compatible format.

Ext2/3/4, jfs, xfs and reiserfs partitions

For ext2, ext3, ext4, jfs, xfs, and reiserfs partitions we need to change the permissions in order to get write access.

Changing the permissions

As the permissions can only be changed with administrator privileges do:

In Pardus 2008 start System > More Applications > File Manager -Super User Mode.

In Pardus 2009 start Dolphin (administrator mode) with Alt+F2 and enter

kdesu dbus-launch dolphin

and apply the following instructions.

  1. Mount partition by selecting [1] the USB device.
  2. Right-click in the blank space [2] to get the dialog window.
  3. Select the Properties dialog [3].
  4. Select the Permissions tab [4].
  5. Set [5] Owner: >> Can View & Modify Contents .
  6. Set [6] Others: >> Can View & Modify Contents.
  7. Set mark here [7] to apply them to all folders and files.
  8. Apply changes here [8].

And right-click > Safely Remove the partition at [1].

Perissions

Label

Set a label for the partition with KDE Partition Manager Partition Editor or GParted (if installed) in order to get a consistent name in Places and mounting point at /media/... in Dolphin. As an example see the "My own label" USB-partition in the image above [1].

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox