|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
To make /dev/sdb2 as read and write accessHi. :-P
I've installed Knoppix 5.3.1 LiveDVD on 8Gb Flash drive (was make as LiveFlash). I was make a two partitions. First partition have W95 FAT32 file system which size 6 Gb. Second partition have EXT2 file system which size 2 Gb. I loading LiveFlash with Knoppix and see mount partition /dev/sdb2 on /media/sdb2 (second partition on Flash drive) whith that access privilleges: owner root, group root, access drwxr-xr-x. I can't write information on /dev/sdb2 :'( but I very want to do it. :-P How and what I must to do for make /dev/sdb2 partition can be write access on every times when I load Knoppix from LiveFlash drive? ;-) I want to make files on /dev/sdb2. Which configuration files I must to change to open write access for /dev/sdb2? ;-) Help me. :-P I need it. -- To UNSUBSCRIBE, email to debian-knoppix-request@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
|
|
Re: To make /dev/sdb2 as read and write accessDear SMS,
On the second partition is ext2, which means that you can (and probably should) change the partitions permissions after mount in order to allow write access for users. Since you formatted this partition as root with root-only write permission, you can change this as root, once the partition is mounted. sudo chmod a=rwx /media/sdb2 Please note that you need to change permissions of the mounted partition directory, not of the device file in /dev or the unmounted directory. After this change, users can create files which will be owned by them, and they can manage their own permissions in order to allow or disallow access for others. Unlike DOS/FAT, file permissions on ext2 are per-user, not per-drive. This is a one-time change, no configuration files have to be modified. :-) If you want to do this recursively for all existing files and directories on the drive that you may have added as root already, add the "-R" (capital R) option as in: chmod -R a+rwX /media/sdb2 Note the +, which ADDS missing permissions only, and the capital X, which only sets "exectutable" if there is already an executable permission set for the files or dirctories owner. That way, you don't accidentially mark non-executable files as executable. Regards -Klaus Knopper Tue, Jan 27, 2009 at 06:25:14PM +1000, sms wrote: > Hi. :-P > I've installed Knoppix 5.3.1 LiveDVD on 8Gb Flash drive (was make as > LiveFlash). I was make a two partitions. First partition have W95 FAT32 > file system which size 6 Gb. Second partition have EXT2 file system > which size 2 Gb. I loading LiveFlash with Knoppix and see mount > partition /dev/sdb2 on /media/sdb2 (second partition on Flash drive) > whith that access privilleges: owner root, group root, access > drwxr-xr-x. I can't write information on /dev/sdb2 :'( but I very want > to do it. :-P How and what I must to do for make /dev/sdb2 partition > can be write access on every times when I load Knoppix from LiveFlash > drive? ;-) I want to make files on /dev/sdb2. Which configuration files > I must to change to open write access for /dev/sdb2? ;-) Help me. :-P I > need it. -- To UNSUBSCRIBE, email to debian-knoppix-request@... with a subject of "unsubscribe". Trouble? Contact listmaster@... |
| Free embeddable forum powered by Nabble | Forum Help |