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.