Posts: 177
rmcellig
Joined: 04 Mar 2014
#1
I set up an fstab entry to access my iMac. I keep getting permission denied errors. I created a creadentials file with the right username and password to access the share on my imac. Any idea what I am doing wrong and how I can fix it? fstab entries to my other machines work fine.

Code: Select all

//192.168.2.11/randymac /media/imac cifs credentials=/home/randy/.smbmain 0 0
When I entered this instead, everything worked fine. Can someone explain to me why? Thanks!!

Code: Select all

//192.168.2.11/randymac /media/imac cifs credentials=/home/randy/.smbmain,uid=1000,gid=1000,iocharset=utf8,sec=ntlm 0 0
Last edited by rmcellig on 05 Jul 2014, 16:08, edited 1 time in total.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#2
my first guess is a persmission problem with the folder on the imac, which the second command is solving by spoofing as the initial user of the imac.
Posts: 177
rmcellig
Joined: 04 Mar 2014
#3
Thanks dolphin_oracle!