Re: What have I done now seems weird

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

 



On Tue, 2004-09-28 at 07:38 +0100, nosp wrote:
> On Tue, 2004-09-28 at 07:14, Peter Cague wrote:
> > Hi
> > 
> > I followed the instructions as per ntfs drives and did all the command
> > line stuff and they worked fine but when I put the command lines into my
> > fstab the come up as bad lines
> > 
> [snip]
> > /dev/hda1               /mnt/Windoz          -t   ntfs -r -o unmask=0222
> > /dev/hda2               /mnt/Bits            -t   ntfs -r -o unmask=0222
> > 
> > if I run the two above lines at the prompt they work?
> 
> The format of an /etc/fstab line is not the same as the format of the
> command-line arguments to "mount".
> 
> Try:
> /dev/hda1               /mnt/Windoz          ntfs  ro,unmask=0222 0 0
> /dev/hda2               /mnt/Bits            ntfs  ro,unmask=0222 0 0
                                                        ^^^^^^  
	That should be umask=0222, which makes it read only permissions with
sub folders visible.

Scott


> You should probably also familiarize yourself with the fstab format (man
> fstab).
> 
> FWIW this line works for me:
> 
> /dev/hdc1               /mnt/win_c              ntfs    noauto,owner,ro
> 0 0
> 
> 
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux