suggestion for the /etc/fstab
Hi, In your etc/fstab you're giving a permission of 777, which won't always work as the GID is root, so files that will be created after the smb is mounted couldn't be deleted sometime (depends on the permissions on the file/dir)
I suggest an alternative way:
- The files will have 644 permission and folders 755 permission
- the mount will use the current uid/gid of the user which is 1000, that way he/she will have a full permission just like local files.
example:
//nas.local/stuff /media/removable/CASIO-DSC/smb smbfs username=XXX,password=YYY,rw,iocharset=utf8,file_mode=0644,dir_mode=0755,uid=1000,gid=1000 0 0
What do you think?
Sorry I didnt respond earlier. Yes you are right. I didn't pay much attention on the files permission, the permission of 777 was just a quick example. I see that the next time I push, I also will update the example fstab. Your permission setting should be better as an example in fstab. Note that I didn't put much effort in this, since google is working on third party filesystem support, which also should include smb support. Just wondering how long it will take them....