Ubuntu :: Prevent Updatedb On WebDav Mount?
May 17, 2010
I have a WebDav (davfs2) mounted in /home/myuser/mydavmountI would like to prevent updatedb from indexing the content of the mounted drive. I tried editing /etc/updatedb.conf and setting the following:
Code:
PRUNEPATHS="/tmp /var/spool /media /home/myuser/mydavmount"
also tried these:
[code]...
View 2 Replies
ADVERTISEMENT
Feb 1, 2010
when I opened /etc/updatedb.conf it says there in the file that one should make ones own updatedb.local. But how, exactly? Presumably I create /etc/updatedb.local but what do I put into that? With all those $-signs I'm pretty much lost. Could anyone post his/her example of a PRUNE_FS statement or point me to some reference where I can read up on this
View 10 Replies
View Related
Nov 22, 2010
So here's: sudo apt-get install fusedav
Make a mount location, chown the directory, give yourself permissions.
I put my script in /etc/init.d. I'm sure you could put it anywhere though.
Paste the following in the file.
Make the permissions readable only by root, because it has your password in plain text.
Make it executable.
Make it run at boot.
Reboot and use.
View 2 Replies
View Related
Feb 2, 2011
I have a WebDAV folder (complete folder hierarchy in fact) currently managed by SAP's KM module. Long story short: it's in Windows, it's slow, I hate it.
I want to migrate the hole tree to my brand new Ubuntu Server 10.04 with a functional WebDAV server I just finished configuring. It connects to LDAP for user authentication, it's fast, it works like a charm.
Do you guys know any way I can transfer/migrate files from the Windows WebDAV to to Ubuntu WebDAV? The only thing that is important to keep is file security properties. Both WebDAVs have the same user database: our corporate Active Directory.
View 1 Replies
View Related
Feb 25, 2011
How can I mount a webdav location to my 11.3 pc at home so I can access the same files that I do via my ipad while I am on the move.
I have an mobile-me account therefore I use idisk.
I would like idisk mounted so it appears as a folder on my desktop at home, so I can edit the same documents without having to upload and download using a web browser.
is this possible?
the idisk url is https://idisk.me.com/YourMemberName/
View 3 Replies
View Related
Jan 10, 2010
I'm using some software that using mount point such as truecrypt. I also mount shared folder on other machine (fileserver) and publish it using ftp. The problem is when the truecrypt volume dismounted or the shared folder mount point loosing connection to the fileserver, user can write to the mount point without knowing that they actually not writing to the truecrypt volume or to the shared folder.
My question is, when sometime the server reboot and truecrypt volume is not mounted yet, how to prevent write to the mount point? I dont run truecrypt mount automatically for security reason.Some question for shared folder, if fileserver restart and the shared folder mount point got disconnected, how to prevent write to the mount point?
View 2 Replies
View Related
Jan 25, 2011
I'm working on creating a bootable Linux CD to distribute a sandbox environment to customers that will work on multiple PCs.One requirement of this environment is that we do not want the user to have any access to the underlying hard drives in the computer to prevent any accidental and/or malicious damage. I can prevent the disks from automounting with a few udev custom rules, but is there any way to prevent/block the user from manually mounting the hard drives after boot up.
View 2 Replies
View Related
Jul 10, 2011
I want to use updatedb to index an external hard disk drive. I mount the drive under /media/external and removed '/media' from the PRUNEPATHS in /etc/updatedb.conf file.This works and I can search for files when the drive is not connected using slocate. However it takes sometime to index the drive and I do not want updatedb to run on its own (if it ran while external is disconnected well...) and seeing as the box in question is on 24/7 if it should run by itself it will most certainly ruin the slocate db.I was thinking of plugging the drive in and running updatedb again, once completed will this work
Code:
# slocate '/media/external' > ext_file_list
and then to find a file even when external is disconnected
[code]...
View 3 Replies
View Related
Mar 21, 2009
I have been trying to find a solution for my problem but I can't find it.
Does anyone know how I can add my external HD (USB 400GB) to the "updatedb" so I can find files in my hard drive? code...
View 5 Replies
View Related
Jul 5, 2010
I recently installed 10.04, in the process of installing MythTV... I'm looking for installed files and find bash no longer finds updatedb or locate commands. I did change /etc/hosts and /etc/hostname to change the name of the box. Could this have hosed those commands? I tried them as root... sudo -i, same result...
View 6 Replies
View Related
Mar 20, 2011
On fedora system I do a updatedb command and thereafter a simple locate to look for files and softwares. But on my ubuntu 10.10 install, when I do a updatedb, I get Quote:nishith@nishith-Aspire-4720:~$ updatedbupdatedb: can not open a temporary file for `/var/lib/mlocate/mlocate.db'Also locate doesnot do anything, just gives back the shell prompt! what could be the issue here? BTW my install is on a usb 8 gb stick
View 2 Replies
View Related
Feb 16, 2010
If I want to use the locate command on a Linux machine, I usually run sudo updatedb first to update the database. I can run the locate command on OS X 10.5 but I can't find updatedb. What's the corresponding updatedb for the mac?
View 2 Replies
View Related
Aug 26, 2010
kernel 2.6.21.5, GNU (Slackware 12.0).updatedb: Secure Locate 3.1 - Released March 7, 2006.
Cdrecord-ProDVD-Clone 2.01.01a23.Some script in my system runs updatedb (in the background) on a periodic basis. I am wondering what would happen if it runs while I am burning a CD/DVD, a thing I usually do with cdrecord. Cannot this cause a buffer underrun
View 2 Replies
View Related
Jan 21, 2010
I would like an NFS drive to be added to the drives that are updated by updatedb. Here is my update.conf (default values):
Code:
PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "auto afs gfs gfs2 iso9660 sfs udf"
PRUNENAMES = ".hg .svn"
PRUNEPATHS = "/afs /net /sfs /tmp /udev /var/spool/cups /var/spool/squid /var/tmp"
As far as I can see, there is no option explicitly excluding NFS drives. Neither, as far as my perusal of man updateddb.conf is there any way to telling updatedb to include a given path, only exclude one.getting it to include a path on an NFS drive?
View 1 Replies
View Related
May 27, 2010
I've been trying to set up a webDAV server on my remote server and while trying to enable a vhost 'webdav' with the command
Code:
sudo a2ensite webdav
sudo /etc/init.d/apache2 restart
[Code]....
View 7 Replies
View Related
Jul 16, 2010
I use davfs2 to mount a Webdav drive at startup. It mounts correctly and I have read access to all files my account gives me access to. One big problem though: I can't create of modify any file. I know it is not a user account problem because everything works well when I mount the drive in Windows 7 using WebDrive.
Here's the entry in /etc/fstab to automatically mount the drive:
Code:
http://someserver.local/docs /home/my_user/km_docs davfs user,rw,auto 0 0
The Webdav is hosted on a local SAP Portal server (if anyone is familiar with this).
I also tried to use Cadaver. It connects and reads perfectly. But when I try to create a file, I get a "409 Conflict" error, even the file has never existed on the server before.
View 3 Replies
View Related
May 6, 2011
Trying to setup WebDav on Ubuntu server. Stuck on the last few steps of the setup. Trying to test the setup with cadaver, but reach this error:
cadaver http://10.0.6.103/webdav
Could not access /webdav/ (not WebDAV-enabled?):
405 Method Not Allowed
Connection to `10.0.6.103' closed.
[Code].....
View 2 Replies
View Related
May 22, 2010
I used to be able to run locate and updatedb, but after an OpenSUSE update, they no longer work. I've reinstalled findutils and it appears to install correctly, but the commands still don't work.
server:/tmp # rpm -Uvh --force findutils-4.2.28-24.i586.rpm
Preparing... ########################################### [100%]
1:findutils ########################################### [100%]
[code]...
View 3 Replies
View Related
May 31, 2011
Kernel 2.6.21.5, Slackware 12.0
Code:
bash-3.1$ cat /etc/cron.daily/slocate
#!/bin/sh
[code]...
View 10 Replies
View Related
Apr 16, 2010
I've used updatedb to catalog a remote XP drive as follows:
Code:
sudo mkdir /mnt/xpcdrive
sudo mount //winxp/c$ /mnt/xpcdrive -o username=administrator,password=mypassword
[code]...
View 2 Replies
View Related
Jan 5, 2010
I'm trying to make ecryptfs work on my GMX Mediacenter share (a service quite popular in Germany). I followed the instructions to include my mediacenter share in my fstab which works pretty well. So now I'm able to connect via Secure WebDAV as a regular user (no sudo needed). When connected, I try to create a ecryptfs transparent layer so everything saved remotely is seamlessly encrypted. Although no error message is thrown during creation, the process fails. When entering the remote share (cd mediacenter) and performing any remote command such as "ls -la", the following error message is thrown:
[Code]...
View 1 Replies
View Related
Jun 7, 2011
i am using ubuntu 10.10. I had installed apache2 and subversion, using webdav, as described in the unbuntu wiki. SVN was working as expected, I could commit files, etc. I then installed php5 and mysql, as described in the ubuntu wiki, and i now get the following on apache restart:
apache2: Syntax error on line 203 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/dav_svn.load: Cannot load /usr/lib/apache2/modules/mod_dav_svn.so into server: /usr/lib/libgssapi_krb5.so.2: symbol krb5_authdata_context_copy, version krb5_3_MIT not defined in file libkrb5.so.3 with link time reference Action 'configtest' failed.
View 4 Replies
View Related
Jul 3, 2011
I am using Safesync from Trendmicro to backup my data. Since some time I am experiencing heavy problems. Normally my Backup should look like this: But when I am mounting it with WebDAV, it is looking different:
Code:
cdrewing@christian-desktop:~$ sudo mount -t davfs http://dav.trendmicro.safesync.com /media/Safesync
[sudo] password for cdrewing:
Gib bitte den Benutzernamen f�r den Server http://dav.trendmicro.safesync.com an; wenn du keinen angeben willst, dr�cke Return.
[Code]...
Note: When I am mounting Safesync with Nautilus, everything is functional and ok. But I need my command line access because I want to use rsync. A workaround could be to access the resource via the nautilus mount. Where can I find this via the command line?
View 1 Replies
View Related
Mar 8, 2010
I am trying to install the locate and the updatedb command as they were not intially installed during the desktop installation of linux. How do I do this
View 1 Replies
View Related
Oct 11, 2009
I have been reading [URL] to setup the same. But I am facing an issue here. Whenever I am editing the file:
Code:
Alias /webdav /var/www/webdav
Dav on
in wedav.conf under /etc/httpd/conf.d folder.
It says:
Code:
[root@chat conf.d]# service httpd restart
Stopping httpd: [FAILED]
[code]...
View 2 Replies
View Related
Dec 13, 2010
On our web server I want to have a WebDAV folder and I would like customers to be able to log in with MySQL authentication from our customers database (this I have set up with no problems and it works fine). HOWEVER, I want each customer to have their own subfolder and, having logged in with access to the main WebDAV folder, I want each customer ONLY to be able to access their own subfolder(s). I don't mind them seeing other subfolders exist but obviously I don't want them to have access to other customers subfolders.
OK, of course I could achieve this by adding new WebDAV locations to the httpd.conf for every customer but with a large number of customers httpd.conf will become very large and messy. I have tried applying further restrictions by putting an .httaccess file in each subfolder but that doesn't work - indeed the presence of a .htaccess file oddly prevents users from seeing any other files in the subfolder but has no effect on the access.
View 1 Replies
View Related
Jan 21, 2015
I am using Debian GNU/Linux 7.8 with Linux 3.16.0-0 (x86_64) from backports and XFCE. I am using nautilus for the default file manager because thunar is not able to connect to server. My problem is that when i want to upload a file from iceweasel, the bookmarked webdav location on nautilus is not shown. This mean that iceweasel doesn't use nautilus? If so how to change this? Nautilus is checked in the default programs.
View 0 Replies
View Related
Jan 13, 2010
My workplace recently switched to Active Directory for our netdisk space (I work at a University in the US). The "only way" (recommended) by our IT department is to use a cifs protocol. I've had absolutely no luck with that at all. However, it turns out that there is secure WebDAV protocol setup which works well on campus. If I'm off campus I have to connect via a VPN connection; our school uses Cisco Anyconnect 2.3.0254. It works well for me to connect to a printer, etc on campus.
Here's my problem: I can't connect to my netdisk space from off-campus using the Secure WebDAV bookmark that was working oncampus, even when I am connected via the VPN connection. I am using UFW. Is there a port I need to open up, or am I missing something else?
View 3 Replies
View Related
Aug 12, 2011
I want to setup a SSL encrypted WebDAV share on my OpenSUSE 11.4 server that is accessible from the internet. Everything is working fine when using Windows XP or Linux clients, but a connection with Windows 7 is not possible ("the selected folder is not valid").
I already searched for a solution to this problem I tried several setups:
- with and without encryption
- with Basic authentication
- with Digest authentication
- without authentication
I did not have success so far. Is there any solution to this (except not using Windows 7)? Or can anyone confirm that this should be working (and maybe my configuration is messed up)?
View 1 Replies
View Related
Mar 26, 2010
I'm having a problem with my webdav share. I have a secure webdav folder that gets accessed via a non-standard port and requires basic authentication. I can connect and interact with it fine via cadaver. However, when I try to connect from nautilus, it says "Access was denied." To make it even stranger, sometimes I can click on the folder in nautilus (it still mounts) and access it. Sometimes not (just repeats the error message and won't show me the contents). I may not even un-mount it, but just look at other folder, then click it again and be able to access it, but again - only rarely.
I asked a friend to try connecting from his windows vista computer and it would not work. It would not work from my windows XP virtual computer either. However, it mounts and works just find from my work computer (also Windows XP).
So it seems to be a 50/50 chance that the drive will mount on any given computer/system and work. Do anyone know what the problem may be? I'm guessing user permissions, but I can't figure out what.
I've made sure the webdav folder is owned by www-data and www-data has read access to the password file as well.
When I try connecting from nautilus, I get this in the log file:
Code:
Here is one of the (many) sites I've tried looking at: [url]
View 4 Replies
View Related