mount -t cifs //192.168.1.197/public public -o user=fvdw,pass=abcd,nounix
//192.168.1.197/public on /rw_fs/tmp/mnt/public type cifs (rw,mand,relatime,unc=\192.168.1.197\public,username=fvdw,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.1.197,
file_mode=0755,dir_mode=0755,serverino,rsize=16384,wsize=57344)
For the most part, the files and directories contained in the mounted smbfs filesystem will work just like any others, except for limitations imposed by the nature of SMB networking. For example, not even the superuser can perform the operation:
# chown root lectures
chown: changing ownership of 'lectures': Operation not permitted
because SMB shares do not intrinsically support the idea of ownership. Some odd behaviors can result from this. For example, the command:
# chmod 777 readme.txt
does not produce an error message, although nothing has been changed. The file readme.txt still has permissions set to 664:
# ls -l readme.txt
-rw-rw-r-- 1 jay jay 131 Jan 15 05:01 readme.txt
firwareslut wrote:I am using the following mount option in fstab to mount my smb share
//192.168.0.150/public /media/NETWORKHD smbfs username=xx,password=xx,allow_other,noauto,users 0 0
It works pretty much perfectly except any file copying operation from my Ubuntu install returns with "ERROR: Cannot change permissions" when the file has finished transferring.
Is there something missing from my fstab command or is it a setting in smb.conf?
Return to Lacie Network Space vs2 and max version
Users browsing this forum: No registered users and 4 guests