Sponsored Content
Full Discussion: CIFS on linux ?
Operating Systems Linux CIFS on linux ? Post 302122873 by the_learner on Thursday 21st of June 2007 05:52:51 PM
Old 06-21-2007
Hey, thanks for your reply..

So, I was able to do a cifs mount ! One thing that is odd is that whenever I mount a volume using cifs.. the size of the destination directory (mount point) becomes zero

Code:
 % mkdir temp
 % ls -ld temp/
drwxr-xr-x  2 vj enr 4096 Jun 21 14:41 temp/
 % r mount -t cifs sys1:/vol1 ~/temp
 % ls -ld temp/
drwxrwxrwx  3 root root 0 Jun 21 12:14 temp/
 % cd temp/
 % ls -l
total 10264
-rwxrwSrwt  1 root root 10506529 Jun 21 12:15 file10MB*

Is this the expected behaviour ? If not, then what does it depend on ?

Thanks again !!
 

10 More Discussions You Might Find Interesting

1. AIX

share with cifs

Im trying to share a directory with cifs my aix box with a windows server. but when I try to mount mount -v cifs -n 172.19.90.240/suc_user/tommy /directory /directory1/directory1 I got this error There was an error connecting the share or the server. Make sure the lsdev command shows that... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

2. Shell Programming and Scripting

Cifs + 2 gb

Hi all, I am using script to take mysql database backup... its arrround 12 GB ...... I have used tar -a , cp -a and rsync -a to take backup on CIFS mounted drive but it fails to take backup more than 2 GB as well as not able to take backup with ownership,timestamps. Conf files... (3 Replies)
Discussion started by: jagnikam
3 Replies

3. HP-UX

mount with CIFS

hi everyone months ago i installed software on hp-ux box. So instead of going to the server room (which is far and cold :) ), I put the DVD in my windows xp box and mount it using CIFS, it was successful. Now I want to install another software on the same hp-ux box using the same windows... (3 Replies)
Discussion started by: neemoze
3 Replies

4. OS X (Apple)

OS X - cifs - What's Up?

Can all you OS X xperts help me? OS X Leopard 10.5.6: mount -t cifs -o username=name,password=secret //server/share /mnt/dir Works from every linux box I have ever used. This does not work from the OS X terminal. Why? The gui/finder/go: cifs://server/share just works... command line... (2 Replies)
Discussion started by: cjohnsoia
2 Replies

5. AIX

cifs

Hi, I want to access windows folder from aix and viceversa. Is it possible to do that? I came to know we can do that from cifs but when tried to install cifs.base.cmd 3.2.1.0 cifs.base.lic 3.2.1.0 cifs.base.smit 3.2.1.0 cifs.basic.rte 3.2.1.0 cifs.client.rte 3.2.1.0 cifs.websm.apps 3.2.1.0... (4 Replies)
Discussion started by: vjm
4 Replies

6. AIX

mounting cifs

Dear All, I mounted a windows share on AIX 5.3. with cifs. The write on it is much slower than from other windows clients. Could you help me with any tricks to speed the writing process? Thanks, Zoltán Patalenszki (0 Replies)
Discussion started by: zoltanp
0 Replies

7. Windows & DOS: Issues & Discussions

Linux mount cifs with Windows ACL support

I'm in the process of migrating my windows file servers to a Ubuntu Samba server. My plan is to use cp -Rp to copy all the mounted files to the proper directory on my Ubuntu server. I can mount them just fine but if I run getfacl against a mounted directory its not showing any of my Windows... (0 Replies)
Discussion started by: binary-ninja
0 Replies

8. UNIX for Dummies Questions & Answers

Umount CIFS

hi guys I have to umount a CIFS from a Windows machine...but it's been imposible there is one special task /sbin/umount.cifs /mondobackup that task cannot be kill...so I cannot umount the unit any idea how to kill this and umount this CIFS share? by the way I've tried umount... (5 Replies)
Discussion started by: kopper
5 Replies

9. Shell Programming and Scripting

Directory / File changes on CIFS share mounted on Red Hat Linux

I have a requirement to copy the changed file on CIFS share mounted on Red Hat Linux to a remote FTP/SFTP server. I tried inotify-tools, but this didn't track the modified files. Has anyone tried incron or any other suggestion? (1 Reply)
Discussion started by: SupeAlok
1 Replies

10. UNIX for Dummies Questions & Answers

unable to automount a cifs drive in linux

Hi I am using SUSE 11 linux I have couple of "nfs" entries in /etc/fstab which are automatically loaded after system restart. One of the entry is windows drive mounted using cifs as shown below //IP-Address/Partition /mnt/x cifs credentials=/creds/.creds,rw,uid=<name> 0 0 I want to... (1 Reply)
Discussion started by: rakeshkumar
1 Replies
GETCIFSACL(1)						  CIFS Access Control List Tools					     GETCIFSACL(1)

NAME
getcifsacl - Userspace helper to display an ACL in a security descriptor for Common Internet File System (CIFS) SYNOPSIS
getcifsacl [-v|-r] {file system object} DESCRIPTION
This tool is part of the cifs-utils suite. getcifsacl is a userspace helper program for the Linux CIFS client file system. It is intended to display a security descriptor including ACL for a file system object. It is best utilized when an option of cifsacl is specified when mounting a cifs share in conjunction with winbind facility of Samba suite. Fields of an ACE such as SID, type, flags, and mask are displayed separated by /. Numeric values of type, flags, and mask are displayed in hexadecimal format. OPTIONS
-v Print version number and exit. -r Display a security descriptor in raw mode. Values such as type and flags are displayed in hexadecimal format, a SID is not mapped to a name. NOTES
Kernel support for getcifsacl/setcifsacl utilities was initially introduced in the 2.6.37 kernel. SEE ALSO
mount.cifs(8), winbindd(8), setcifsacl(1) AUTHOR
Shirish Pargaonkar wrote the getcifsacl program. The Linux CIFS Mailing list is the preferred place to ask questions regarding these programs. cifs-utils 08/19/2011 GETCIFSACL(1)
All times are GMT -4. The time now is 11:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy