Re: /etc/fstab Woes

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

 



On Tue, 2006-02-07 at 20:13 -0600, Mikkel L. Ellertson wrote:
> Nathaniel Hall wrote:
> > Hi all,
> > 
> > I am having problems with getting permissions correct using my fstab.  I
> > am mounting to a Windows file server from a Core 4 box.  I am able to
> > connect to the share and mess with files, but permissions are not
> > correct.  I do not run as a root user, so when I write a file it is
> > owned by root.  I would like it to be owned by my username so that I do
> > not have to change the owner when I want to edit the file.
> > 
> > Here is my /etc/fstab
> > //server/share   /media/server/share   cifs  
> > credentials=/home/user/.smbcredentials/user.cred,rw,user 0 0
> > 
> > Does anybody have any suggestions?
> > 
> Try adding umask=0.
> 
> //server/share   /media/server/share   cifs
> credentials=/home/user/.smbcredentials/user.cred,rw,user,umask=0 0 0


Isn't that supposed to be umask=000


This is what I do on a CLI
 mount -t cifs -o
username=xxx,password=yyy,uid=500 //server/share /mnt/pt




-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 14:36:11 up 2 days, 5:36, 4 users, load average: 0.15, 0.61,
0.72 



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

  Powered by Linux