Ubuntu Networking :: CIFS Complete Directory Listings?

Mar 30, 2011

I currently have some windows (Win7 Ultimate 64-bit) shares automounted to my linux laptop whenever I am on my home wireless network. I have this functionality set up using autofs/CIFS and it works well, except for one issue: The directory listings for the mounted windows shares are incomplete, i.e. when listing the directories on the linux machine, it only lists a fraction of what is available in the actual share. One directory returns 28 of 51 files present, for example, and another 33 of 60. NOTE: None of the files on the windows shares are 'hidden' or in any way shared differently than the others.

View 1 Replies


ADVERTISEMENT

Fedora Networking :: Unable To Mount Specific Directory Via CIFS?

Aug 19, 2011

I have a bootable utility toolset that I put together with Fedora 14, one of its primary functions is to map a user designated share via script and access information from it. The command that I used, that functioned perfectly, in Fedora 14 was:

Code:
sudo mount -t cifs -o user=provided.account.name //file-server.mydomain.com/share/images /mnt/source

[code]...

View 3 Replies View Related

CentOS 5 Server :: Applying CSS File To Apache Directory Listings

Apr 8, 2011

I'm having trouble applying a CSS file to my Apache directory listings. I am running Apache 2.2.3, and have the following lines in my httpd.conf file:IndexOptions FancyIndexing FoldersFirst IconsAreLinks IgnoreCase VersionSort NameWidth=* HTMLTable IndexStyleSheet "css/dir.css"

View 2 Replies View Related

CentOS 5 :: Samba CIFS - Mounting Directory On Share

Jul 22, 2009

I've to make a Windows 2000 share on my Server Linux CentOS 5.1 with all the updates installed with yum. I've a directory on a Windows 2000 that contains some images for a catalogue. I have my internet site on CentOS 5.1 with a Apache - Mysql - PHP web server. I have to mount my directory on a share in /mnt/catalogueimages and made a symbolic link from my /var/www/html/mysite/catimages to this samba share.

This is what I do following your guide a this link: [URL]
I have placed in my /etc/fstab this line:
//SERVER/C/Catalogue /mnt/catalogueimages cifs user,username=Administrator,password=,uid=apache,gid=apache 0 0
My Windows 2000 server have no password.

After that I made the symbolic link:
ln -s /mnt/catalogueimages /var/www/html/mysite/catimages
All it's OK.

The problem is that I can't see the images via browser. I have tried also to put some images in the directory /mnt/catalogueimages, deleting the mount point, in order to see if the problem was in apache: the images are visible via browser. Why I don't reach to see the images mounted with samba?

View 9 Replies View Related

General :: Resuming File Copying After Remounting CIFS Directory

Mar 13, 2011

I'm trying to resume copying from a mounted CIFS device to my local hdd with cURL. I tried

Code:
$ curl -C - -O file://myfile
and also

Code:
$ curl -C <manual offset> -O file://myfile
(looked up the manual offset using "$ wc -c")

This resumes copying if I cancel it eg with ^C.

But it does not work if I unmount and remount the CIFS device. cURL then ignores my given offset and continues again from start as if nothing were there without saying a word. With "-C -" the same effect.

View 2 Replies View Related

Server :: Cannot Mount CIFS Directory Hostname, But IP Address Works?

Jun 27, 2011

I have a linux server running slackware 13.37. I am trying to mount a samba share with my other slackware machine, but I get a "mount error(13): Permission denied" when I run

sudo mount -t cifs //server/share /mnt
But, if I run
sudo mount -t cifs //192.168.1.100/share /mnt

[code]...

View 2 Replies View Related

CentOS 5 Server :: Mount Cifs Does Not Work, But Smbclient Does. Empty Directory In First Case?

Feb 18, 2009

I am trying to mount a samba share using an fstab entry

//srv1/Corporate /winfiles cifs user,uid=0,rw,noauto,suid,credentials=/root/wnmount_credentials.txt 0 0

The mount appears to complete cleanly, however when I browse the directory /winfiles it is always empty.The smbclient command works properly using the same credentials.The /root/credentials file looks something like this

username=********
password=********

View 5 Replies View Related

Ubuntu :: Incorrect - Media Listings

Jul 23, 2010

In my /media directory, there is a sub-directory that doesn't point to any drive (mounted or unmounted) - when I look at it in nautilus, it looks like a folder with an x on it, and I can't actually get inside the folder through the terminal. It has the same name as an external hard drive that I used to own, but has since been repartitioned. I think that, at one point, the drive was removed from my computer without unmounting, and its listing in /media was never removed (I left my home for a weekend and when I got back the drive didn't work and this listing was there in /media. I think my roommate might have done something to it, but he hasn't admitted to anything). Is there any way to remove this listing?

View 2 Replies View Related

Ubuntu Networking :: Unable To Mount CIFS

Jul 14, 2010

I am getting an error when I try to mount a CIFS file-system via terminal:

cifs_mount failed w/return code = -22

If I Places > Connect to server, it will open just fine. The share is also accessible from all the other computers on the network.

Google search brought me here to an archived thread which gave a different error number (!)

Desktop is Ubuntu 10,4LTS/Gnome; fresh install with no additional packages installed (so it's possible I am missing something but not sure what!)

View 1 Replies View Related

Ubuntu Networking :: IRC Channels - Benefits Of NFS Over CIFS?

May 14, 2011

I was asking around in some IRC channels earlier trying to develop some thoughts on how NFS is better than CIFS. I set up a FreeNAS file server, and that's where all of my data now resides on a pair of raided drives. That way my main desktop, which is kind of a power hog gaming rig, can be powered off since I pretty much live on my laptop now. Anyway, I began to tinker with CIFS and NFS. Since some family members in the household use Windows, I definitely need CIFS. But I wanted to bounce back to NFS too and check it out.

While I do think it's nice I don't have to worry about authentication to the NAS box when using NFS, it's still a little scary. Being that it's more of a trust method instead of actual authentication, truthfully all a user needs to get into your data is the path to your NFS share and a matching UID. I mean, am I wrong by saying this? Sure, it may seem like NFS is convenient, but this angle of it is a little scary. I just don't feel like that screams "secure."

On the flip side, you have CIFS, which uses a user authentication level. So I hit my little shortcut to my NAS and it asks me who I am. I log in and bam, I have connection. I can browse other folders on the share, etc. This is convenient because I do have a "public" share on here with a generic user. That way if friends come over and want to transfer something to me, I have them drop it in the public share and I later transfer it accordingly. Since there is a user level authentication, this to me seems a little more secure.

Speed wise I was a little concerned, as some users have said NFS is faster than CIFS. Well, they might be right. But I did a few bench tests here on my laptop, using the same exact share except one with CIFS one with NFS. I stayed in the exact same location and transferred the same 300mb file in each instance.

NFS - 1.7mb/s
CIFS - 1.5/mb/s

Not exactly enough to warrant a huge argument over, so I leave that argument along the road to be forgot about since it doesn't really have any bearing on this situation. I like things about both NFS and CIFS. I just want to know why is it "not optimal" to use a full blown CIFS setup even if you're using 100% Linux systems.

View 4 Replies View Related

Ubuntu Security :: Restricting File Listings ?

Nov 7, 2010

We set up a server with my friend (still newbies ) a couple of months ago using Ubuntu 10.04 LTS server edition and agreed to let some folks at school to use it to install drupal on it for teaching and learning purposes. So the idea is that there are multiple users that all install drupal in their home folders separately using SSH and continue from there on etc.

Everything is set up for that to work (domain, settings etc), but there's one thing nagging me, and that's how everyone can look at everything on the server. They dont have rights to modify anything but can look at file listings and view inside files etc.

So how do I restrict the viewing rights of users to inside their home folder, BUT so that they can use the cd command to go to folders inside their home folder, but not outside of it. As far as I know rbash purely keeps you inside home and allows nothing else, so that doesn't work, because you need the cd command.

View 6 Replies View Related

Ubuntu :: Remove Listings From 8.04 Sources List?

Feb 17, 2010

I recently downloaded some browsers using the synaptic package manager and after taking a look at them I used synaptic to remove them.

However when I ran an update I found that these browsers were still on my sources list and I could not update correctly. So I need to remove them from my sources list.

View 7 Replies View Related

Ubuntu Networking :: CIFS VFS No Response For Cmd 50 Using 9.10 Karmic Koala

Feb 2, 2010

I was also having a problem with the Shutdown / Reboot sequence taking ages due to using WiFi, WPA2 and mounting SMB shares. I wasted about 4 hours digging around before I finally realised that the solution involved Upstart. 1. Open a terminal and enter:

Code: sudo gedit /etc/init/network-manager.conf 2. Just below the description line add the following:

Code:
pre-stop script
/etc/init.d/umountnfs.sh
end script

3. Save the script and attempt a restart. I don't know if this will work for everyone, or even what version of Upstart you need for it to work, but it cuts my shutdown time from about 2 mins to about 30 seconds.

Note: This has been working for me about 90% of the time. Occasionally though I see that the script ends prematurely due to the TERM signal and I end up with the 2 minute wait again. I've added the following to the /etc/init/network-manager.conf file:

[Code]...

View 9 Replies View Related

Ubuntu Networking :: Only Root Can Write To Cifs Mount?

Feb 18, 2010

I'm trying to talk the studio I work at into switching one of the departments to linux. (likely kubuntu). So I'm trialling it, but having issues mounting windows shares.It's working great; all except that only Root can write to the mount. I've tried a few different things with fstab, no go.Below is my fstab so far, and you can see the mountpoints.

Code:
# /etc/fstab: static file system information.
#

[code]....

View 2 Replies View Related

Ubuntu Networking :: Cifs Share Mounts But Cannot See Files?

Mar 10, 2010

I have a Buffalo Drivestation (model HD-CELU2, 1tb) attached to my network.From my ubuntu desktop I can go to the menu, select "connect to server", put in the ip and share info, and it mounts perfectly.I can open the share and browse eadwrite, but when I try to mount it from a terminal or within fstab, it will still mount, but I cannot see any files that are on the drive. I have about 12gb of data on it, but like I said when I mount it using "mount -t cifs 192.x.x.x/share blah blah blah" I do not see any of the files.If I do a df I can see that the drive has files on it based on the free space available, but if I do an ls nothing shows.

View 7 Replies View Related

Ubuntu Networking :: Fstab Setup For Cifs Mounting?

Aug 12, 2010

Hopefully this'll be an easy one (but I wasn't able to find any other posts with the exact same problem).I'm connecting to a large hard drive at work. I can mount perfectly fine. The following is the relevant line in my fstab file:

//XXX.XXX.XXX.XXX/data /mnt/labdata cifs users,rw,exec,suid,dev,username=XXX,password=XXX,_ netdev,fmask=777,dmask=777 0 0

The problem is that when I try to cd to the correct directory, I get a permission denied error. I don't own the mount point, and there aren't general read/write permissions set. But if I change to superuser, I can access it no problem. I can read, write, make directories, etc. So the problem is with my computer--not the remote one.

Now, if I add the option uid=MYID, I can read and write just fine. The system makes me the owner of the directory on mounting. But that's not what I want--I'm trying to allow multiple users access to this file system. I want there to either be a neutral owner (e.g. root) with others having read/write access, or I want the owner of the mount point to be the user currently logged in.

View 5 Replies View Related

Ubuntu Networking :: Mount Cifs With Charset Errors

Nov 18, 2010

I've been mounting our windows network by opening nautilus and typing in the address bar:

smb://<servername>/share

and I am prompted to log in, all is fine.

however, I need to use some apps where I need to pick the folder from a file list, which I can't get to work with the above connection.

I then created the following line in my fstab file:

Code:
//<servername>/<share> /mnt/fileserver cifs credentials=/home/<username>/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

This appears to mount correctly, however there are some filenames on the server with the bullet character() in their name, and by mounting via fstab, the bullet shows as a question mark, but mounting from nautilus shows the bullet.

Anyway I can mount with fstab, and have all characters show properly in the filename?

View 1 Replies View Related

Networking :: Where Does CIFS Log Failed Mounts

Jun 22, 2011

I`m using cifs to mount a windows 2008 server share. I`m mounting it read only and using an rsync script which works quiet nice.

Recently I couldnt mount the windows share anymore, i didnt know the account iam using would go inactive if i never logged in.

Just where does cifs write a log if it can`t mount a windows share? If I knew where it is it would also be easier to find the reason if it doesn`t work.

View 1 Replies View Related

Ubuntu :: Deleting Menu Listings For Wine Programs?

Jan 23, 2010

I have been having an issue getting the menu listings for uninstalled Wine programs to actually get removed from the menu. I can deselect/hide them, but it will not delete them.Anyone else having this problem? How can I get rid of all the icons? It seems that it almost creates one every time I use a Wine to open something.

View 1 Replies View Related

Ubuntu :: Multiple GRUB2 Listings For The Same Kernel Version

Jun 5, 2010

I did a fresh 64-bit install of 10.04 workstation a few weeks ago, and my grub seems to "double up" the listings of my kernel versions. I have removed the older versions hanging around on my system, but you can see in the list below, that I still get the listings more than once:

jim@jim-laptop:/etc/grub.d$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-22-generic
Found initrd image: /boot/initrd.img-2.6.32-22-generic
Found linux image: /boot/vmlinuz-2.6.32-22-generic

[Code]....

View 9 Replies View Related

Ubuntu Networking :: How To Test Cifs Is Actually Mounted In Script File

Mar 12, 2010

I would like to be able to test that a network mounted cifs(samba) share is actually mounted in a script file to do backups. I want to do this so that when my automatic backups run they actually go to the remote location or fail. Currently, if there is a network problem that prevents the network share from mounting, the files simply get copied to the folder (e.g. /media/backupmount) and end up filling up my small local hard drive.

View 3 Replies View Related

Ubuntu Networking :: Slow Transfer To Mounted CIFS Share?

May 2, 2010

I have a Hitachi SimpleNET adapter (entry-level NAS device) on a Seagate FreeAgent 1TB external HDD (formatted ext3). The NAS device is connected over 100MB/s ethernet to a Netgear Wireless G router. All other devices connect using Wireless G. The NAS runs embedded Linux on an ARM processor and it runs vsftpd and Samba for file transfers.

If I transfer a large file using an FTP client the transfer maxes out at around 2.5MB/s. For my purposes that's good enough, especially considering the Wireless G bottleneck. If I transfer a file from a Windows 7 client (using samba) I get around 2.2MB/s. I know the CIFS protocol has more overhead than FTP and the difference in speed isn't that noticeable.Any combination of Ubuntu and Samba results in me getting less than 1MB/s. I've tried mounting it through Nautilus (GVFS) and /etc/fstab. FTP from this same Ubuntu client gets around 2.5MB/s.

I don't have root access on the SimpleNET to change the smb.conf. I've made a few adjustments to the mount options with no success. how to either speed up 10.04 as a Samba client or mount a folder on an FTP server locally? I've tried both curlftpfs and FUSEFTP. With curlftpfs any write operation results in an I/O error and it crashes intermittently. With FUSEFTP I never got that far and couldn't even browse the folder.

View 2 Replies View Related

Software :: Dir And Dates Listings Are Not Consistent?

Jan 26, 2011

It only occured to me now, but why is it that date listings are not consistent?

ex:

Code:

They are all Month Day Year but one (from that particular extract, there's more), why is the 3rd there one Month Day Time? I know the year is not 2011 because we have not hit august 2011 yet, but what if it's 2009 or 2008? I would not know.

One of my sites got hacked and I'm just trying to figure out what the hacker got into and trying to figure how he got in so I can fix the exploit.

View 3 Replies View Related

Ubuntu Networking :: Cifs: Setting Times Of `file1': Operation Not Permitted?

Mar 14, 2010

I have a WD MyBook World NAS share mounted with the following options (I tried also other options):Code:cifs nouser,atime,auto,rw,nodev,noexec,nosuid,nodfs,nounix,guest,uid=0,gid=0,file_mode=0777,dir_mode=0777The cp -a, touch, etc. commands can change the file time if the root is executing the command (means NAS supports time setting), but as an user I can't change the file time - with an exception of changing the time to the current time. For an illustration see below:

Code:
.../tmp> ls -la
total 0

[code]....

View 2 Replies View Related

Ubuntu Networking :: File Corruption By Copy From Lucid To CIFS Share

Aug 11, 2010

There are a number of shares on the destination system; for the purposes of this thread I used D$ and F$ (corresponding to those partitions). These shares are mounted permanently via CIFS (entries in fstab) on the source system.Today I copied an ISO image of some 3.5 GB from source (S) to destination (D). md5sum on S gave a different checksum for the source ISO than that calculated by HashCheck Shell Extension for the destination ISO. I know some would argue that I shoud use the same md5sum programm for both images.

To circumvent that I 7zipped the ISO, verified it's integrity and copied that archive from S to D. Verification of the acrchive by the Win version of 7z failed.To see if it's a protocol problem I copied both ISO and archive of ISO to another D this time using sshfs (it's an Ubuntu server). Flawless copies.Then I copied both files to another Win-based server on the same network. Flawless copies.Mystified, I checked the partition's file system integrity (NTFS) where the errors occured. Minor inconsistencies (no errors according to chkdsk). So I copied both files again, once to another partition (D:) of the original D, once to that partition causing the error in the first place (F:).

(D:): archive corrupt, checksum okay
(F:): this time around both okay.

What the hell can I do to nail down the problem?! I don't even know whether it's a problem of the source system or the destination.

View 1 Replies View Related

Ubuntu Networking :: CIFS User Credentials On A QNap 209II NAS-disk

Mar 29, 2011

When I use Nautilus to copy files to my NAS-disk they end up with owner "root" and I cannot edit them. If I copy them back to my PC they have owner <username> and are editable.

My fstab is: //10.0.0.20/Qmultimedia /media/Mmedia cifs credentials=/root/.smbcreds,directio,iocharset=utf8,noacl,noperm,rw, nobootwait 0 0

Of course I want my Mmedia mount on the NAS to behave like another disk on my PC; i.e. owner should be <username> and the files should be editable.

View 1 Replies View Related

CentOS 5 :: Cannot Get The DVD To Show In The Linked Hardware Listings?

Jun 7, 2011

Issue is: I'm using an external USB DVD burner and can not get the DVD to show in the linked hardware listings, so need help getting that mounted. I need it to run the recently installed MONDO.

View 2 Replies View Related

Fedora Networking :: Mounting Windows Share With Cifs?

Feb 10, 2009

Following instructions that I received from the Fedora 10 Guide, I recently edited my etc/fstab file so that I could auto mount my Windows share. It worked the first time, but when I rebooted, I noticed an error saying that Linux could not not unmount the cifs shares. Eventually it did reboot, but now I cannot mount the share at all from fstab. When I run the command #mount -a and then #mount, my share is shown to be mounted although I cannot access it and there is no link to it on the desktop like there was the first time it mounted. I basically want my Windows share to be permanently mounted with read/write permissions. My Distro is Fedora Core 10 64 bit. How can I resolve this issue?

View 3 Replies View Related

Fedora Networking :: Windows CIFS Shares At Startup

Jun 3, 2011

After booting, the sda5 and sda8 mounts work fine, but the Windows shares haven't been mounted. If I enter the command: mount -a everything works fine. I don't know if this a timing issue, or something to do with the new systemd stuff, but it has happened in previous Fedora releases from time to time.

View 1 Replies View Related

Networking :: Unable To Mount Cifs Shares As User?

Oct 4, 2010

this subject seems to have been touched a hundred times, but after following all the advice google could provide, i'm still unable to mount cifs shares as user, here's the fstab line

<server> <mountpoint> cifs rw,noauto,credentials=/etc/gattonauth,uid=1000,gid=1000,dir_mode=0770 0 0
i've chowned the mountpoint to the user,
ive tried
chmod +s /sbin/mount.cifs /sbin/mount.cifs
suggested by http://www.linuxquestions.org/questi...-lenny-711337/

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved