Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi folks,
Knoppix LiveCD 4.0.2
I have a partition created on HD reserved for Knoppix LiveCD. On default the partition can be mounted both as "root" and "user". My problem is that files on the partition can only be saved as "root". Therefore as "user" after editing the files I can't save them back to the partition. Also I can't save new file on the partition.
Is there any solution? I don't expect starting Knoppix as root nor "su root" on console starting application to work.
TIA
B.R.
satimis

If you used FAT, find your user's uid and gid by running "id", and mount with "mount -o uid=1000,gid=100...", for example. Or if it's already mounted, "mount -o remount,uid=1000,gid=100 /mnt/knoppix_space".
If it's a POSIX filesystem like EXT2/3, ReiserFS, XFS, etc., mount and chown everything with "chown -R username:group /mnt/knoppix_space".

Jake2,
Tks for your advice.
The fs of all partitions is ext2/ext3. There are 6 partitions, namely partition 1, 3, 5, 6, 7 and 8 (partition 2 is swap). I haven't added user. What shall I replace for "username"?
What shall I replace for "space" or just a space (pressing the keyboard to add a space)?
Besides there is no entry on /etc/fstab of the partitions.
satimis

If the partitions are formatted to ext2/3 then why not just create directories in each partition and assign the rights to those?

Hi 3Dave,
I ran;
# tar -zxpf tarball -C /mnt/partion_xto decompress the tarball on this partition reserving the original properties.
satimis

You may want to try the "--same-owner" switch with tar...the file permissions might be the same but the owner and group may be different.

Hi 3Dave,
I ran;
# tar -jcpf tarball.tarbz2 - creating the tarball
and
# tar -jxpf tarball.tarbz2 - to decompress it
Whether you meant adding --same-owner to them as;
# tar -jcpf --same-owner tarball.tarbz2
and
# tar -jxpf --same-owner tarball.tarbz2satimis

Hi 3Dave or folks,
Could you please help me advising the webmaster of computing.net that the "List Image on/off" of mycomputing.net did not work for several days, the complete list lost.
I have been searching the whole web and could not find the link/email address to contact the webmaster.
TIA
B.R.
satimis

![]() |
Where to get Live Linux o...
|
How to make Linux bootabl...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |