I make a new msdos partition (msdos) with Parted for data exchange with Windows.owner group is root (Parted requires root to work), but owner user is my current user.so neither can chan... [by piero0959]
on 03/28/2010 – Made popular on 03/28/2010
First I create a properly aligned partition in a new GPT table using parted by specifying percentages for start and end of the partition:
# parted -a optimal /dev/sdb
GNU Parted 2.3
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mktable gpt
Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost.
this is what i got while trying to format a partition in my pendirve:
Error deleting partition /dev/sdb1: Command-line `parted --script "/dev/sdb" "rm 1"' exited with non-zero exit status 1: Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table. However, it does not have a valid fake msdos partition table, as it should.
I have a user account that has administrative privileges. testing out some devices, i decided to add the user to root, adm, d-bus etc groups. after that, whenever i create any file, with or without superuser, the files all belong to root and group root.
I have a directory what is mounted to a logical-volume, currently the owner/group owner is root. I would like to permanently change the group owner to vboxuser. Everytime I change it using chgrp is makes the change but when I reboot it reverts to root as the group owner. How would I be able to permanently make the change.
I am on Debian 7, I have two 500GB partitions. One partition is for the system itself and the other is for Backing up data. The problem I have is that after I type the root password to mount the partition it seems that the root user is the owner of the partition and I need to constantly use the terminal to store files.