Menu

More Permission Problems

Help
Chuck Roy
2002-03-05
2002-03-07
  • Chuck Roy

    Chuck Roy - 2002-03-05

    All of the Admin functions seem to be working and I can set up new users without any problems.

    However when I try to upload a file with the new user ID, the new user does not have proper authority.  When I look at my files directory, the permissions for the new user's directory are drwxrwx---, no global access. 

    Is there a setting I overlooked somewhere?

    Thanks
    Chuck

     
    • Jason Wies

      Jason Wies - 2002-03-07

      It should be fine (and usually desirable) that the directory is drwxrwx--- (770).  While it doesn't have any "other" bits set, the owner/group of the directory is the owner/group of the web server process.  So the web server has full read/write access to the newly created directory, and thus it _is_ publically accessible from the web, just not for other local users on the system.

      You can change the permissions the directory is created with by changing (or adding) the umask (); call in vfs->mkdir (), but there usually isn't any reason to.

      Jason Wies aka Zone

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.