CentOS 5 :: NFS Mounted Directory Owned By Avahi-autoipd
Apr 15, 2009
I'm having trouble with an NFS mounted directory on a newly installed 5.3 server.
The directory mounts fine using this command:
However I cannot write to the directory despite it being mounted RW and having read-write access on the host (a Netapp Filer). If I check permissions on the mounted directory, I see it is owned by 'avahi-autoipd':
I have disabled the avahi-daemon in chkconfig, although it wasn't running to begin with. Any idea why this directory would be owned by avahi-autoipd and whether or not that has anything to do with why I can't write to the mounted directory?
View 3 Replies
ADVERTISEMENT
Apr 9, 2011
I'm trying to jail a sftp user. All I want is for my daughter-in-law to be able to download pictures of my grandson on his step-uncle's motorcycle. But I don't want her browsing around. She's not a techie, but she's smart enough to catch on how WinSCP is looking at my files. I've set up the jail using jk_init, adding ssh, sftp, bash, netutils, basicshell, jk_lsh.
The physical root of the jail is owned by root, as are all the binaries loaded by the jk_init. The user's home directory is owned recursively by the user and is writable only by the owner. The passwd and group files are in the jailed /etc and populated by the user's lines. Shell is bash, and bash is there too. The error message must be coming from some other problem that's not notifying, but what?
View 4 Replies
View Related
Jan 29, 2010
Is there a way, on Linux, to cause all new files created in a directory to be owned by the directory's group instead of the creating user's group?
View 2 Replies
View Related
Jun 8, 2011
I have a directory cookie_tmp which is owned by some:fella. Session cookies are being created under this directory as How can I set the directory so that files are created and owned by some:fella ?
View 2 Replies
View Related
Aug 9, 2011
I am curious if mounting a directory inside an already mounted directory is considered safe? I have done this on an Ubuntu server before but never thought to ask if it could cause problems.An example:
/dev/mapper/Raid5-VMStorage on /var/lib/libvirt/images
/dev/mapper/Raid1-SpareStorage on /var/lib/libvirt/images/Workstations
View 3 Replies
View Related
Mar 8, 2011
I have a machine which has only /opt with some decent amount of space where I can install a software. /opt belongs to root:root. The software I want to install cannot be installed as root user.
So lets say I create a directory called /opt/install1 and then chown -R install1 to belong to user1. And now I install the software under /opt/install1 with user as user1.
Is this a best practice violation? There could potentially be just /opt/install1 belong to user1 and in future everything else created under /opt belonging to root..
View 2 Replies
View Related
Feb 10, 2011
I am trying to get NFS mounts working properly using autofs, but I'm only getting partially results. I have an auto.master set up for indirect mounts and a list of map files for each entry. Forgot to mention that when I mount the directory using /etc/fstab or setup a direct mount in /etc/auto.master I can see files in the mounted directory...
View 10 Replies
View Related
Jan 11, 2010
I have 3 disks in my PC which are partitioned equally as I use them for Raid 1.The first partition on every disk is a simple ext2 partition for booting. No Raid there. So I mount them as /boot and /boot2 and /boot3. So I can backup my /boot to the other boot directories. That worked for some month and this morning I just want to look if all directories have enough free space left. So I did a df -h and got this:
Code:
Dateisystem Grove Benut Verf Ben% EingehÃĪngt auf
/dev/mapper/system-root
6,0G 301M 5,4G 6% /
udev 1,5G 292K 1,5G 1% /dev
/dev/sdb1 122M 29M 87M 25% /boot
/dev/sdc1 38M 21M 16M 59% /boot2
...
/dev/sda1 122M 29M 87M 25% /boot
As you can see /dev/sda1 and /dev/sdb1 are both mounted on /boot
Here is what mount says:
Code:
/dev/sdb1 on /boot type ext2 (ro,acl,user_xattr)
/dev/sdc1 on /boot2 type ext2 (ro,acl,user_xattr)
...
/dev/sda1 on /boot type ext2 (ro,acl,user_xattr)
This is no Problem for me as I could just remount it correctly, but I would like to know if this problem is known. I did not change anything by now and this PC is a server which is running 24/7, so I can deliver more debugging Information if someone is interested.
View 9 Replies
View Related
Sep 8, 2011
I wanted to set ACL for a directory. For that it is important that the device should be mounted as acl on that directory.
But I do not want to add the acl mount in /etc/fstab. So I am tempoararily mounting the device to some temporary directory as acl and setting ACL and then unmounting it. Then, I'm mounting it to the original directory.
The code is below:
tmp="/tmp1/backup"
orig="/mnt1/backup"
dev="/dev/sda2"
mkdir -p $tmp
[Code]....
The group is being changed, but ACL is not set for the directory.
View 1 Replies
View Related
Apr 19, 2011
I have a server running RHEL6 and a virtual machine also running RHEL6. I created a directory /home/data on the server and another on the VM. When I mount the host directory on the VM, I am not able to change the ownership/permissions through the VM no matter what. The ownership is set to "nobody" and I can't even change it to root.
View 4 Replies
View Related
Oct 18, 2010
I'm having a bit of an issue with Lucid installed via Wubi. I stuck the OS on its own partition (30 GB in size), and don't store any large files in the Ubuntu file system (when I download something large I move it to another hard drive.) I don't have anything wacky or esoteric installed on my system.
I've been consistently having a problem where, after a few hours or a few days of being booted up, Ubuntu warns me that my available HD space is dangerously small. The amount of available HD space Ubuntu sees then shrinks from a few GB to nothing within a few minutes, and the only way I can seem to solve this is to reboot. Taking a closer look at what's happening, my Home folder balloons in size until there's no more writable space recognized. But there are no files being created or added to, so it looks like there's a bug of some sort. This SEEMS to be correlated with watching videos (or maybe it's the pulling of large files from a mounted directory into RAM? My videos are all on another HD, as mentioned before). I can generally go a few days without getting the "low space" message, but I can't seem to make it through a full 2-hour movie without getting the error.
View 3 Replies
View Related
Oct 4, 2010
I'm running Fedora 12 - Linux 2.6.32.21 with a boot partion on /dev/sdb3 of a hard disk.
I downloaded a vanilla kernel version 2.6.35.4 and have built it and run it successfully. I built this kernel to play with building device drivers.
My grub configuration uses the same root filesystem for my fedora installation as my vanilla 2.6.35.4 kernel; both use the LVM root filesystem. (/dev/sd4 /dev/sdb5 /dev/sdb6)
When I'm running fedora 12 (2.6.32.21) I can see the files in /boot which contains my kernel, system-map, initramfs, grub directory, etc. I also see my vanilla kernel 2.6.35.4 and it's associated support files (map, initramfs, etc.)
My question is when I boot into my vanilla 2.6.35.4 kernel and I look in /boot, I only see my vanilla kernel and it's associated support files. No grub, no fedora kernel. If I do a df -a, I see that /dev/sdb3 is not mounted like it is when I'm running my fedora kernel. I'm confused as to what is going on here. Can anyone shed some light on this?
View 5 Replies
View Related
Jul 8, 2011
I have a problem with sshfs. I want to share a binary with some others computers, but i only want them to be able to execute (no read/write ). So, on my main server, I chown root:root bin & chmod 701 bin. That work nicely on main server, local users can execute bin w/o read/write ... But when I mount directory using sshfs, users cant exec/read/write ...
SSHFS version 2.2
FUSE library version: 2.8.4
fusermount version: 2.8.4
using FUSE kernel interface version 7.12
View 9 Replies
View Related
Jun 26, 2011
I need to read information from SUN hard disks which are about a decade old. My CentOS 5.6 mount command comes from util-linux 2.13-pre7."mount -t ufs -o ufstype=sun /dev/sdb2 /New" reports "mount: unknown filesystem type 'ufs'", though its man page describes such settings.How could I read an external UltraSCSI hard disk (yes: high pitch noise and only 9 GB capacity) on a current CentOS? Is that possible at all?
View 1 Replies
View Related
May 28, 2010
I am using back in time to back up files from home and from another mounted directory on my system (ntfs). The back-ups are occurring automatically and appear to be complete; but, I cannot delete old back-up snapshots in the backintime GUI Also with sudo nautilus or as root in terminal with (rmdir) I cannot delete the snapshots. My drive is filling up and rather than uninstalling back in time, I would like to simply delete the unneeded snapshots. How can I delete these files? Is there an rsync file that I should configure to delete these? My expectation of backintime was that it would back-up at the requested frequency and not create complete duplicate copies of the files, but, use symbolic links to unchanged files. How can I verify if this is the case? Does the cron file control this>
View 1 Replies
View Related
Nov 8, 2010
mount an NFS directory as a regular user (which doesn't have sudo rights) because a suitable entry (i.e. with the user option) is defined in /etc/fstab file.But, when I mount it, I am not the owner of it! The owner is the default superuser of the system. So I don't have write permissions in the mounted directory.
View 4 Replies
View Related
Aug 10, 2010
I went through some conf files under /etc. But cannot find out why cdrom always mounted under /media? Also there is one line in /etc/auto.misc:
cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Does that mean the cdrom should be mounted under /misc/cd?
View 1 Replies
View Related
Mar 1, 2009
I went through some conf files under /etc. But cannot find out why cdrom always mounted under /media? Also there is one line in /etc/auto.misc: cd -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
Does that mean the cdrom should be mounted under /misc/cd?
View 1 Replies
View Related
Nov 15, 2010
I have an iSCSI device that is large, ~17TB usable, and I've created an XFS file system at the device level. I mount the device no problem and am able to touch and remove files without issue. I start my application and within about 5-10 minutes I start seeing the following entries appear in /var/log/messages
[Code]...
View 2 Replies
View Related
Nov 4, 2009
I've been working at creating a highly available set of host servers for a linux diskless boot cluster.Each host machine is fitted with redundant power supplies and two 1TB drives in a Raid-1 configuration.When I first started this project they each had twin 160GB drives. In my original setup I had both nodes acting as primary systems so that I could mount /dev/drbd0 to my /data directory and see changes immediately.It had worked in the past where I could make a file in /data on the first machine and it would show up in the /data directory on the second machine. One day this had stopped working where if I made a file on the first machine it would display on the second one until I unmounted /data and remounted it to the /dev/drbd0 disk.
This is when I bought the new disks and decided to start from scratch. The weird thing is that if I make a file on the primary and remount on the secondary to see it and then delete it from the secondary and THEN delete it on the primary, the primary throws no error however it goes into read-only mode because it knows that file was already gone.Below is my configuration file, sda8 is an 820GB partition which is used for all of the data I want to replicate, currently populated with ~10GB of data. Sda7 is my metadisk partition which is 500MB large clearly more than needed by drbd.Also you will notice "incon-degr-cmd "halt -f";" is commented out. This is because when I go to actually use it drbd throws an error when reloading the configuration and I'm not sure why that is either
resource r0 {
protocol C;
#incon-degr-cmd "halt -f";
[code]....
View 3 Replies
View Related
Jan 15, 2010
I'm wondering if there is a way to shrink an ext3 LV mount as / .I tried to with resize2fs ... but seems that isn't possible if the partition is mounted.
View 8 Replies
View Related
May 18, 2010
using Back In Time to backup my home directory to a second hdd that is mounted at /media/backupThe trouble is, I can do this using Back In Time (Root), but not using Back In Time without the root option. This is definitely a permissions issue - it can't write to the folder, but when I checked by right clicking on the backup directory and looking at the permission tab, it said I was the owner
View 2 Replies
View Related
Mar 18, 2011
Like in subject when i run gfs2_gettune it returns:
gfs2_tool gettune /mnt/SambaShare/
gfs2_tool: gfs2 Filesystem /mnt/SambaShare/ is not mounted.
View 3 Replies
View Related
Aug 6, 2010
Is there a way to disable disk checks in a mounted usb drive? I have a 500GB usb mounted drive in my CentOS machine and everytime I reboot my system, it does disk checks which is a long painstaking process.
/mnt/sdb1
View 4 Replies
View Related
Jul 16, 2009
I'm having a problem accessing files via nfs where an iso has been mounted through the loop device on the nfs server. Basically what I am attempting to do is access the 6 CentOS 5.2 ISO's via NFS from one of my client machines. The client is able to mount the share and see its sub directories leading up to the mount point of the ISO, but the contents of the mounted ISO image are simply not visible (on the client, they are visible on the server).
Server config (CentOS 5):
/etc/fstab:
/home/user/iso/CentOS-5.2-x86_64-bin-1of7.iso /exportiso/centos/x64/5.2/disc1 iso9660 defaults,loop 0 0
[code].....
NFS is working correctly for other mounts between these two boxes, however.
View 1 Replies
View Related
Aug 10, 2010
I recently installed Cent-Os on a server and changed the default partitioning to have 2 partitions - 1 main area for everything and a swap partition of 8Gb After installation I cant see the swap as a separate partition although there is a 16GB tempfs mounted as /dev/shm Is this right ?
fdisk -l shows :-
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
(first partition being non-lvm boot)
View 3 Replies
View Related
Apr 20, 2010
Is there any way to setup the Centos Directory Server without an internet connection?? i tried using the command: yum install centos-ds
but this just tries to connect to the internet to to download the packages. Is there a site where i can find the package so that i can copy it to my server and install it or is there some other way to do this?
View 3 Replies
View Related
Jan 15, 2011
I am trying to compiling avahi from src.rpm, and got this error: /usr/include/gtk-3.0/gtk/gtkapplication.h:57:3: error: expected specifier-qualifier-list before 'GApplication'According to bug651328 Comment #2,gtk3 in F14 is a dead-end, unfortunately. gtk3 requires a newer glib than f14 has or will have.So how was the avahi rpm compiled? And how can I compile it from src.rpm?
View 3 Replies
View Related
Jan 2, 2010
What does it mean when i get a eth0:avahi ? on ifconfig
View 2 Replies
View Related
Apr 15, 2010
i am running a sabayon linux system 5.0 when i attempt to log in onto my user account it fades back to log in page. i attempted to log in on the console and it still wont do so, but the avahi daemon does have two exclamation points in red which signifies to my mind an issue with avahi.
i log in as root and the computer opens...i go to system and it says the avahi daemon is not activating..my question... do i need the avahi daemon or is it redundant?would removing avahi damage the over all operating of my computer or should i have a geek reconfigure it
View 2 Replies
View Related