You are not logged in.

#1 2013-07-18 17:15:39

toca180
Member
Registered: 2011-09-17
Posts: 15

can not write to cifs mount mounted via autofs

Hi

I have samba running on a Raspberry Pi running Arch Linux Arm. I can mount the samba share and write to it fine from my Mac but not from my Arch Linux laptop. I have this in my /etc/autofs/auto.master file:

/home/toca180/nas/Robert /etc/autofs/auto.nas

Then on /etc/autofs/auto.nas I have:

nas -fstype=cifs,rw,username=USERNAME,password=PASSWORD,uid=toca180 ://192.168.1.79/robert

Our put of id toca180:

uid=1000(toca180) gid=100(users) groups=100(users),7(lp),90(network),91(video),92(audio),93(optical),95(storage),96(scanner),98(power)

I have noticed that /home/toca180/nas/Robert keeps getting its owner and group set to root even though I have changed them to toca180 and users. I have tried changing the uid parameter in auto.nas to 1000 and that does not make a difference. I have also tried adding gid=users or gid=100 to it and that does not make a difference.  I have also tried adding file_mode=0777,dir_mode=0777 after Googleing. But again this does not make a difference.

What else can I try?

Thank you for reading.

Robert

Offline

Board footer

Powered by FluxBB