question regarding mount.cifs, samba, kernel 2.6.3

shrek-m at gmx.de shrek-m at gmx.de
Thu Feb 26 18:10:29 UTC 2004


Harry Putnam wrote:

>Are you guys aboe to write to the mounted share?
>
>I'm able to mount the share but not write to it:
>
>My command:
>(wrapped for mail)
>mount -t cifs -ousername=Administrator,password="" \
>  //exp-xp/J-ahn-d /mnt/J-ahn-d
>
>Mount shows it mounted 
>   [...]  
>  /dev/hdb3 on /arch type ext3 (rw)
>  /dev/hdb10 on /var/www type ext3 (rw)
>  //exp-xp/J-ahn-d on /mnt/J-ahn-d type cifs (0)
>
>But no write:
>
>cd /mnt/J-ahn-d
>  (I can see the files with ls but:)
>[root] # touch it 
>touch: cannot touch `it': Permission denied
>[reader.local.net0]/mnt/J-ahn-d
>  
>

windows nt/w2k/xp/2003 ?
you have to check your  share *and* your ntfs-permisssions


# mount -t cifs -ousername=admin //192.168.101.10/doku /mnt/smb/
Password:
# mount -t cifs -ousername=admin //192.168.101.10/daten /mnt/cifs/
Password:
# cd /mnt/
# touch smb/test1
# touch cifs/test1
# rm smb/test1
rm: reguläre leere Datei »smb/test1« entfernen? j
# rm cifs/test1
rm: reguläre leere Datei »cifs/test1« entfernen? j

>I'm curious if you guys see that `(0)' as above in mount output?
>

# mount | grep 192
//192.168.101.10/doku on /mnt/smb/ type cifs (0)
//192.168.101.10/daten on /mnt/cifs/ type cifs (0)

-- 
shrek-m





More information about the test mailing list