Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Cannot create files or dirs even as root on FC6 xen system: msg#00262

linux.redhat.fedora.xen

Subject: Re: Cannot create files or dirs even as root on FC6 xen system

Hi Craig,

Thanks for the info.
Yes, autofs is indeed configured to dynamically mount the CDROM on /misc/cdrom. This is fresh install on a new system but it still have this style of config. Hmm...

I have commented out the culprit line and restarted autofs. I'm able to write to /misc now. =)

cheesin

W Craig Trader wrote:
Cheesin ...

Do you have the autofs daemon running, and does your /etc/auto.master file reference mounting devices on /misc, using the definitions in /etc/auto.misc? Once upon a time, RedHat Linux used autofs to dynamically mount the CDROM on /misc/cdrom; if you've got an older system that's been upgraded, you might still have a remnant of that style of configuration. If you run "ps aux | grep automount", it will show you which mappings are active; if you see something like "/usr/sbin/automount --timeout=60 /misc program /etc/auto.misc" you've found the culprit.

- Craig -

Tan Chee Sin wrote:

Hi,

I've installed a FC6 xen guest system and there is a /misc folder which I want to create files and directories. I get a permission denied when I try to do so even when I am root.

# pwd
/misc
# mkdir test

mkdir: cannot create directory `test': Permission denied

When I do a directoy listing on /, misc is 0 bytes.

drwxr-xr-x 2 root root 0 Nov 21 13:24 misc

I have listed the disk space usage and the fstab below.
# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xvda1 11904588 1830176 9459928 17% /
tmpfs 768000 0 768000 0% /dev/shm
/dev/xvda3 5431008 171288 4979388 4% /var

# cat /etc/fstab
LABEL=/1 / ext3 defaults 1 1
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
LABEL=/var /var ext3 defaults 1 2
LABEL=SWAP-xvda2 swap swap defaults 0 0

I'm not sure if this issue happens only on FC6 xen but I am able to create files and directories on a FC5 xen system.

cheesin

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation