Fedora Linux Support Community & Resources Center
  #1  
Old 3rd September 2008, 04:35 PM
Gilbo Offline
Registered User
 
Join Date: Jan 2007
Posts: 2
[SOLVED] "Permission Denied" errors with 777 files?

SOLUTION: It's not just the file permissions that are important, but the permissions on the directories above it in the filesystem hierarchy. In this case, the kolab user didn't have permission to access certain directories above the directory and files in question.

This was producing the error.

Thank you for anyone who took the time to read this post, but didn't know the answer. In the future, hopefully someone will find it and not repeat the same mistake.


CONTEXT:
I'm getting a permission denied error on an attempted read of a file with permissions 777.

Because the file is already marked 777, I'm at a loss as to how to resolve the permissions issue.


It is preventing the installation of Kolab under Fedora 8.

The Kolab installation script is run as root, but later on continues the install as a new user it created (kolab). Because of this the installation files should be world readable (this is a known issue with the installer), and they are. Despite this, I am still getting the following error:
Code:
 Now running:

   /kolab/bin/openpkg build -kKBuZ -r "/tmp/install-kolab.15685.24252.4801.31519" -p "amd64-fedora8-kolab" -D openldap::with_pth=no -D sasl::with_ldap -D sasl::with_login -D sasl::with_ntlm -D postfix::with_sasl -D postfix::with_ssl -D postfix::with_ldap -D imapd::with_kolab_nocaps
            -Dkolabd::kolab_version=2.2.0
            -Dkolab-webadmin::kolab_version=2.2.0
          openpkg-tools openldap postfix kolabd kolab-filter kolab-freebusy kolab-webadmin fbview-kronolith horde-kolab-client | sh

---------------------------------------
openpkg:build:FATAL: cannot open '/tmp/install-kolab.15685.24252.4801.31519/00INDEX.rdf' (Permission denied)
"Permission Denied". The file is world readable though!
Code:
[root@Wittgenstein Kolab]# ls -l /tmp/install-kolab.15685.24252.4801.31519/00INDEX.rdf
lrwxrwxrwx 1 root root 54 2008-09-03 11:08 /tmp/install-kolab.15685.24252.4801.31519/00INDEX.rdf -> /home/jguilbault/reference/downloads/Kolab/00INDEX.rdf
[root@Wittgenstein Kolab]# ls -l /home/jguilbault/reference/downloads/Kolab/00INDEX.rdf
-rwxrwxrwx 1 jguilbault jguilbault 295935 2008-09-02 12:01 /home/jguilbault/reference/downloads/Kolab/00INDEX.rdf

THINGS I'VE CHECKED:
1. SELinux is in permissive mode.
2. The Kolab user exists in /etc/passwd:
Code:
[root@Wittgenstein ~]# cat /etc/passwd | grep kolab
kolab:x:19414:19414:/kolab OpenPKG (management):/kolab:/kolab/lib/openpkg/bash
kolab-r:x:19415:19415:/kolab OpenPKG (restricted):/kolab:/kolab/lib/openpkg/bash
kolab-n:x:19416:19416:/kolab OpenPKG (non-privileged):/kolab:/kolab/lib/openpkg/bash
3. The Kolab user exists in /etc/group:
Code:
kolab:*:19414:kolab
kolab-r:*:19415:kolab-r
kolab-n:*:19416:kolab-n
4. Frankly, I don't know what else to do. As far as I know a file with permissions 777 should be world readable & writeable? What am I doing wrong?


Thank you for your time, and I greatly appreciate any help anyone can offer.

Last edited by Gilbo; 3rd September 2008 at 07:43 PM. Reason: Problem Solved
Reply With Quote
Reply

Tags
777, errors, files, permission denied

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC8 FreeNX Issues - "Permission Denied". ScottishCaptain Servers & Networking 13 27th February 2008 02:18 PM
Issue getting MajorDomo running - getting "Permission Denied Error on RESEND command" scoutert24 Using Fedora 0 24th July 2007 07:13 PM
F7: Mount problems "permission denied: not in active session" 1xused Using Fedora 1 16th June 2007 02:30 AM
Need help about "sendmail: fatal: chdir /var/spool/postfix: Permission denied" pratchaya Servers & Networking 1 13th January 2006 10:44 PM
"su: /bin/bash: Permission denied" error with vnc mexicoshanty Using Fedora 1 23rd June 2005 06:56 AM


Current GMT-time: 08:26 (Thursday, 24-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat