Re: Writing on Windows partition
* Piero [EMAIL PROTECTED] [030617 18:43]: I tried to create a group on purpose for this, and change group ownersip of this partition from the root group to this new group, but this operation was doomed illegitimate. May be it is possible to overcome this impossibility, may be there are better solutions. man mount ; $EDITOR /etc/fstab You are interessted in the optione uid=... or gid=... Sincerely Alexander pgp0.pgp Description: PGP signature
Re: Writing on Windows partition
Piero wrote: How can I properly write on my Windows partition without logging as root? I tried to create a group on purpose for this, and change group ownersip of this partition from the root group to this new group, but this operation was doomed illegitimate. May be it is possible to overcome this impossibility, may be there are better solutions. If it's an NTFS partition, you don't want to write to it (experimental support; bad things can happen). If it's VFAT/FAT16/FAT32, that's okay. In such a case, you need to feed the UID or GID option to the mount command, something like: sudo mount /dev/hda1 /mnt/Winders -o gid=winusers assuming winusers is the name of your group you've created. -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Writing on Windows partition
On 03-06-17 09:43 -0700, Piero wrote: How can I properly write on my Windows partition without logging as root? I tried to create a group on purpose for this, and change group ownersip of this partition from the root group to this new group, but this operation was doomed illegitimate. May be it is possible to overcome this impossibility, may be there are better solutions. Hi Piero, I have a line like this in /etc/fstab: /dev/hda1 /windows vfat noauto,user 0 0 which allows any user to issue 'mount /windows' look @ 'man fstab' though, there's a slight difference between 'user' and 'users' where one means only the user who issued 'mount' can issue 'umount', but the other means any user can do either at any time (I'm pretty sure I went with the former, above, but I'm the only regular user on my system) hth, Kenneth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Writing on Windows partition
Kent West wrote: Piero wrote: How can I properly write on my Windows partition without logging as root? I tried to create a group on purpose for this, and change group ownersip of this partition from the root group to this new group, but this operation was doomed illegitimate. May be it is possible to overcome this impossibility, may be there are better solutions. If it's an NTFS partition, you don't want to write to it (experimental support; bad things can happen). If it's VFAT/FAT16/FAT32, that's okay. In such a case, you need to feed the UID or GID option to the mount command, something like: sudo mount /dev/hda1 /mnt/Winders -o gid=winusers assuming winusers is the name of your group you've created. Is it possible to put the option gid=winusers in /etc/fstab ? I couldn't figure out from man. Thanks - Piero. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Writing on Windows partition
Piero wrote: SNIP Is it possible to put the option gid=winusers in /etc/fstab ? I couldn't figure out from man. Thanks - Piero. Yes, replace the word defaults with the options you want, i.e. gid=winusers -- Jules Agee System Administrator Pacific Coast Feather Co. [EMAIL PROTECTED] x284 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]