[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: permissions and fstab



Hi Carel

thank you very much for your answer. Now a stupid question: how can I find the 
uid and gid of my account?

Thanks in advance 

Marcelo

On Tue, Mar 27, 2001 at 02:19:46AM +0200, Carel Fellinger wrote:
> Hi Marcello,
> 
<snip>
> 2) Mount by root, but for a specific user:
>    in /etc/fstab change the entry for that dos partition like this:
> 
>    /dev/hda1 /winfun vfat defaults,uid=1001,gid=1001,noexec,nosuid,nodev 0 2
> 
>    this will allow root but also the user with uid 1001 and gid 1001
>    to read and write to that partition. Only root can mount it.
>    [[ I've added the flags noexec,nosuid,nodev as they were implied by
>       the user flag ]]
> 


-- 
Marcelo Chiapparini
DFT-IF/UERJ
chiappa@uerj.br



Reply to: