OpenSUSE :: VirtualBox Used To Work / Now It Fails With Permission Denied
Feb 4, 2010
I am trying to use VirtualBox which worked just a week ago (I haven't changed anything with it) but now it fails. When I try to start it (from the command line) with /usr/bin/VirtualBox, as a regular user, it fails.
I'm running Ubuntu 11.04 (guest) on Windows 7 (host) with the guest additions installed. I have an auto-mount folder that maps to my D: drive on the host which I can access using sudo ls /media/sf_D_DRIVE - however, even when my user (ross) is a member of the vboxsf group I get a permission denied error when attempting to explore it. I have restarted since adding my user to the vboxsf group.
This should work because I am a member of the group (which has rwx rights), so why doesn't it?
ross@panther:~$ ls -l /media total 8 drwxrwx--- 1 root vboxsf 8192 2011-07-03 22:24 sf_D_DRIVE ross@panther:~$ ls -l /media/sf_D_DRIVE/ ls: cannot open directory /media/sf_D_DRIVE/: Permission denied
I have a CGI script that when called runs another script as a different user. Yet when the script does run I keep getting a permission denied in the logs and the script fails
In the sudoers file- Defaults env_reset www-data ALL=(charly) NOPASSWD=ALL
For the full question- When looking at /etc/sudoers there is the defaults line that you can add things to. When doing a sudo -L so that I can see what I can put on that defaults line. Can an individual user have specific defaults? Ones that don't effect the rest of the people in /etc/sudoers?
I'm trying to setup a samba server to share data among clients via cifs. As a test, I mounted the samba share on the same machine and tried to access the contents of the directory. The mount command was:mount -t cifs -o username=sthomaso,workgroup=WORKGROUP //server/scratch /mnt/server/scratch..which worked fine after entering the password. Although I can "cd /mnt/server/scratch", when I try to list the contents of the directory with "ls", I get error "ls: reading directory .: Permission denied".
i have virtualbox installed from the oracle virtualbox repositorie and had trouble with running virtual machines. It was a permission error: VERR_SUPLIB_OWNER_NOT_ROOT
Turns out after some searching that the permission had changed on /usr to owner:chris and group:vboxusers. Directories inside /usr still belonged to the user root and the group root.
I don't know how much of a security issue this is, but i wanted it to let you all know just in case it is. I changed /usr again to root:root and all is well again.
I noticed when running "ps -ef" that there are a bunch of processes listed with brackets. ie "[process]". Some of them appear to be daemons and others look more like kernel modules? I haven't found a program directly associated with them and was hoping somebody could clarify this for me?
Also, if I run a search of the file system with sudo or as root, there is a directory in my home that returns a permission denied. I understand permissions but shouldn't operations as root be able to do/access anything on the system?
After an upgrade to opensuse 11.3 from 11.2 it turns out that cron uses pam for authentication. Now I have one user 'mythtv' which does not have a login and is not part of the 'users' group. This user is being denied access (permission denied messages in /var/log/messages from crond).
Now, I have been experimenting with the /etc/pam.d/crond config file. I wanted to use the pam_listfile module to grant access to this specific user without authentication. That however didn't work and I have now narrowed down the problem even more.
I am trying to connect to my web host via ssh. I can do this on Windows using Putty without issue. However, if I run this on Linux, I receive a "permission denied" when I am prompted for my login and password. It's obviously making some type of connection, otherwise it wouldn't be prompting me for authentication.I initially thought this was a firewall issue.I opened up port 22 and I even tried disabling the firewall altogether.However, I still received this error.
i have client and server PCs, both with openSuse 11.2.
on the server side, i have mounted HD partition to /vmshare dir. relevant line in /etc/fstab reads:
Code: /dev/disk/by-id/ata-WDC_WD3200AAJS-07B4A0_WD-WCAT16493946-part2 /vmshare reiserfs user,acl 1 2 i want to export /vmshare dir via nfs. i have configured it through yast and resulting line in /etc/exports reads: Code: /vmshare *(rw,root_squash,sync,no_subtree_check,crossmnt) the permissions for this directory is drwxrwxr-x root vmshare.
i can successfully mount the exported dir on client side, i can move between directories and list contents, but i can't write into it (not even as a root). on the server side, i can write to the directory only as root. the vmshare group is created on both machines with same gid as well as all users have same uids. firewalls are down.y.
I have a usb serial adapter and was happily using minicom with it under openSUSE 11.2. I've upgraded to openSUSE 11.3 and I can only use minicom with this serial adapter as root. I had previously had problems writing to /var/lock under openSUSE 11.2 which I worked around by changing the minicom config to use /tmp as its lock file location.
Unfortunately my laptop doesn't have a built in serial port so I can't tell if its a general problem or something specific to the /dev/ttyUSB0 device. This is the output I get when I run minicom with my regular user account. I get the same output whether the lock file location is set to /tmp or /var/lock
Code:minicom usb0 Device /dev/ttyUSB0 lock failed: Permission denied. Before I started tinkering my user belonged to the following groups groups=16(dialout),33(video),100(users) I've since added 5(tty),14(uucp),21(console) but still no joy.
I'm configuring Amanda Enterprise on an OpenSuSE 11.3 system, and everything but the scheduled backups are running. I decided to try and fix it tonight, but I'm pretty fed up by now.
So here's the background:
The application creates an account on the box named "amandabackup" and adds it to the 'video' and 'disk' groups.
It generates cron jobs in /etc/zmanda/zmc_aee/crontab, which is configured as the location of the crontab file for the amandabackup user.
The crontab is owned by amandabackup:disk with a mask of 644.
So I played around with it a little bit; I ran the backup task manually as amandabackup, which worked fine.
I then tried adding the following to the crontab:
And touched amandacron.log, then made sure it was owned by amandabackup with a mask of 644 (i also tried /etc/amanda/amandacron.log, which is a directory the account stores backup session configs in, so I know it can write to it properly). The file is never updated. I tried adding amandabackup to different groups (it's currently been added to the "Users" group), with no success. I tried a symlink to the crontab file in /etc/cron.d to see if that would make a difference, but it didn't.
At this point, I went online and tried some more stuff I found:
I checked /var/log/mail/amandabackup - everything *but* cron jobs were reporting to it.
I verified cron was running with both "ps -ef | grep cron" and "rccron status"
I ensured /var/spool/cron/tabs/amandabackup existed, showed the proper entries, and was set to 644. (this one's the important bit)I checked /var/log/messages, and every minute on the dot I see: <timestamp> /usr/sbin/cron[PID]: Permission Denied
I ensured there was no /etc/cron.allow, and that /etc/cron.deny did not contain amandabackup.
I tried making an /etc/cron.allow, adding amandabackup, and restarting the cron daemon, but this did nothing.
I don't think I've forgotten anything, but my attempts have been getting progressively more feverish, so I'm not positive. Is there some annoying YAST cron panel I'm not seeing? Is there some way of getting more verbose logging out of the cron daemon than just "permission denied"? Is there some draconian rule about crontabs only working based on some otherwise-arbitrary account setting?
11.3 in use with KDE. When I plug in an USB stick or my HTC phone into the USB connector the device is recognised but can't be opened in dolphin. This is the error message:
Code: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-removable auth_admin_keep_always <-- (action, result) but the device is shown in dolphin as a removable device and
Code: # lsusb Bus 001 Device 005: ID 0bb4:0ff9 High Tech Computer Corp.
I'm running openSUSE 11.4 (gnome) and I'm trying to transfer files to my windows partition and it says that I don't have the permission to do so. How do I gain access to it?
As root I get the following result: ngssuse:~ # traceroute -nI 10.200.123.45
Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied. Is this a bug?
I did some reading on Openvpn and am following some instructions I found @ Install & Configure OpenVPN SSL VPN in SUSE & openSUSE Linux | SUSE & openSUSE
I keep getting the same error message when I run the . ./vars command "NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/2.0/keys"
But when I run ../vars I get "Bash: ../vars: Permission denied"
I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says
[code]...
the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.
And I added umask 022 to the user login script problem I have: I login with user and password that exists as a local user on my suse machine. I can read and download from my homedirectory, but I cannot upload with filezilla. Then I get the error: 550 permission denied critical file transfer error
Code: # traceroute -I 69.12.32.2 Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied Note that the command was done as root. This worked in 11.3.
And yes, it works without the "-I". But it should work with the "-I". One shouldn't have to boot into Windows, just to run "tracert" there.
Host is x64 openSUSE 11.2 guest is winxp pro VirtualBox ver 3.0.12
The install and setup of VirtualBox is good and working.
I'm having a perplexing issue with usb devices. I have three usb devices connected to my system - apc battery, sd carder, and a Logitech joystick. All devices work on the host. I can connect the apc and the card reader to the guest and they work perfectly. But not the Logitech joystick. I get this error, same as I've seen in some other threads:
Failed to attach the USB device Logitech Force 3D Pro [0600] to the virtual machine winxp1. Failed to create a proxy device for the USB device. (Error: VERR_READ_ERROR)
under "details" is this:
Result Code: NS_ERROR_FAILURE (0x80004005) Component: Console Interface: IConsole {0a51994b-cbc6-4686-94eb-d4e4023280e2}
I have a user (let's call him John) who is not able to list contents of several 777 directories even though it appears he has permission to.
Case in point, as root:
Code:
Code:
If I use ls -a or strictly ls as john, I can list the contents of the nss directory:
Code:
That says to me that I have an issue listing permissions. Fine, I don't really need john to be able to list permissions. I want him to have rwx access to /media/nss/ENG which as you can see from my listing as root shouldn't be a problem since the perms on that dir are 777.
I am able to CD into the ENG directory or any other directory or subdirectory in /media/nss that has equivalent 777 perms, but once in the directories I can't list the contents:
Code:
I can get anywhere and do anything I want under the media/nss folder as john, except listing files. I even tried using an ACL i.e.
I am trying to give an SSH user on my server permission to compile C exploit with gcc, and I have had no luck. Every time i try to run gcc i get: "sh: /usr/bin/gcc: Permission denied. Has anyone else had this problem with this ?