mounting an xfs partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I just added a new disk to my pc and I made 2 xfs partitions. Then I
created directories /backup and /data2 and I put these lines in /etc/fstab:

/dev/hda1               /backup                 xfs     defaults        1 2
/dev/hda2               /data2                  xfs     defaults        1 2

I want normal users to be able to write to those partitions so I did

chown root:users /backup
chmod 775 /backup

and similarly for /data2. However, when I mount the partitions (as root)
the permissions change to 755. 

14) root:~> ls -ld /backup/
drwxrwxr-x 2 root users 4096 Jan 24 20:32 /backup/
15) root:~> mount /backup/
16) root:~> ls -ld /backup/
drwxr-xr-x 2 root root 6 Jan 19 15:02 /backup/


What do I do? I'm puzzled especially because I have one more xfs partition
created in the yore days of FC4 (running FC6 now with kernel 2.6.19-1.2895)
with a similar entry in /etc/fstab:

LABEL=/data1            /data                   xfs     defaults        1 2

with the same ownership and permissions (775) that doesn't change
permissions when mounted. What gives?


Thanks!

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux