Permissions for samba share
Posted: 09 Feb 2010, 19:15
Hello,
I'd like to mount my Bubba|Two on my Laptop (which runs Ubuntu 9.10). This works fine, but when I copy files from the laptop to Bubba the file permissions are screwed up.
Here's the corresponding line in my /etc/fstab:
The user 'gandi' exists on both laptop and Bubba.
When I copy a simple text file from my laptop to Bubba, via for some reason its permissions are changed from -rw-r--r-- to -rwxrwxrwx.
Any help / suggestions how I can keep the correct permissions are appreciated!
I'd like to mount my Bubba|Two on my Laptop (which runs Ubuntu 9.10). This works fine, but when I copy files from the laptop to Bubba the file permissions are screwed up.
Here's the corresponding line in my /etc/fstab:
Code: Select all
//192.168.1.100/home /mnt/bubba cifs credentials=/home/gandi/.smbcredentials,uid=gandi,gid=gandi 0 0
When I copy a simple text file from my laptop to Bubba, via
Code: Select all
cp -a file.txt /mnt/bubba/gandi/
Any help / suggestions how I can keep the correct permissions are appreciated!