Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm a bit frustrated...I'm trying to mount a windows share via CIFS in CentOS 6.3, but it's not working:

mount -v -t cifs -o credentials=/data/conf/credentials/fileserver //   /mnt/fileserver/projects   

Which gives me this:

Unable to apply new capability set.

No idea why, because connecting with smbclient works fine:

smbclient // -A /data/conf/credentials/fileserver

Any knows what the reason could be?

share|improve this question
Are you running the mount command as root? Is SElinux enabled? – mgorven Jul 24 '12 at 7:12
Yes, running as root, no SElinux. But apparently I can't mount CIFS in an OpenVZ container...which explains why I couldn't find anything explaining the error message ;) I added my workaround as an answer, hope that's ok. – Shocker Jul 24 '12 at 12:54
up vote 2 down vote accepted

Sorry, I figured it out. Problem was that I was running CentOS in an OpenVZ Container, where apparently CIFS doesn't seem to be virtualized - at least according to this source:

It contains a nice workaround though and I ended up creating the mount on the host machine and mounting it with --bind in the guest.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.