OpenSUSE Network :: NFS Permission Denied When Trying To Write?
Jun 29, 2010
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.
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"
Mount a Windows share where my user account has admin privileges. All permissions granted to the share on the windows pc side.Mount statement is as follows:sudo mount -t smbfs -o username=johndoe //winname/directoryname /mnt/tmp/Share mounts ok but does not let me create or write to an existing file. When I select Properties on the directory it says that permissions are unknown on the share looking at it from Ubuntu.
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 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 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?
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.
I switched a external 500GB usb HD from FAT to ext4, because the box it's on no longer has windows.It mounts fine and I can read it - but not write.I have some inkling as to what to do, but prefer your opinions first.
Following the last update bringing kmail 2.0.89 it does not start any more. I get a popup signaling a fatal error : "no read/write permission to your inbox folder". But these permissions have not changed. And even if I move away the Mail folder and try to start kmail I get the same message.
[code]...
This kmail version given by YAST is : 4.5.80-261.1
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 ?
I am in the process of setting up a new server (Debian - Lenny - now updated to Squeeze) and every things were going fine. But unfortunately from today , whenever a user login to ftp, it says
550 permission denied and not able upload / edit or remove any files ( i am able to see all files and folders)
Yesterday it was working fine..
I tried using bot Pure Ftp and Proftp and the issue is common
What I am trying to do is
add a unix user exalmple through adduser command with default directory for the user as /var/www/example.com (shell enabled)
owner of example.com is example
and using the above user name and password to ftp files to the folder
For some reason I am having some issues with permissions of some images. They don't render because they are not set to 644. Now for some reason when I uploaded these files onto my shared hosting with cPanel the files work fine and permissions are fine. I can see there is a permission issue for the files locally on my Mac (OS X - El Capitan).
When I changes these locally on Mac the permissions go all weird and are prefixed with Custom, rather than mac-user-name: Read & Write, staff: Read, everyone: no access. then changes to custom: read & write etc. So then i tried changing permissions on web server see below and I get permission denied and after all the files are gone, i can't delete the images folder through SFTP or SSH. I changed back the image to 755 and tried deleting and still nothing. Not sure what the problem is. Before I chmod I checked that the images are set to the correct user and group as per the rest of the site.
So I try: Code: Select alluser_name@debian:/var/www/html/_files$ chmod -R 644 images
and I get this return: Code: Select allchmod: cannot access ‘images/box-icon.svg’: Permission denied chmod: cannot access ‘images/ie-icon.svg’: Permission denied chmod: cannot access ‘images/google-plus-icon.svg’: Permission denied chmod: cannot access ‘images/mobile-ready-icon.svg’: Permission denied chmod: cannot access ‘images/404.jpg’: Permission denied