Find the answer to your Linux question:
Results 1 to 4 of 4
Now what do you suppose this is all about? ... Code: alan@affront ~ $ whoami alan alan@affront ~ $ groups alan wheel audio cdrom video usb users portage cron plugdev ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    8

    Group Write Granted but Permission Denied


    Now what do you suppose this is all about? ...
    Code:
    alan@affront ~ $ whoami
    alan
    
    alan@affront ~ $ groups alan
    wheel audio cdrom video usb users portage cron plugdev eclipse games alan
    
    alan@affront ~ $ ls -l /usr/lib64/eclipse-3.1/
    total 109
    drwxrwxr-x  2 root eclipse   152 2007-01-12 16:58 about_files
    -rw-rw-r--  1 root eclipse   585 2007-01-12 16:58 about.html
    drwxrwxr-x  2 root eclipse    80 2007-01-12 16:58 configuration
    -rwxrwxr-x  1 root eclipse 20608 2007-01-12 16:58 eclipse-gtk
    -rw-rw-r--  1 root eclipse    25 2007-01-12 16:58 eclipse.ini
    -rw-rw-r--  1 root eclipse 16536 2007-01-12 16:58 epl-v10.html
    drwxrwxr-x 11 root eclipse   456 2007-01-12 16:58 features
    -rw-rw-r--  1 root eclipse  9022 2007-01-12 16:58 icon.xpm
    drwxrwxr-x  2 root eclipse   248 2007-01-12 16:58 links
    -rw-rw-r--  1 root eclipse  6506 2007-01-12 16:58 notice.html
    drwxrwxr-x 27 root eclipse  4624 2007-01-12 16:58 plugins
    drwxrwxr-x  2 root eclipse    88 2007-01-12 16:58 readme
    -rw-rw-r--  1 root eclipse 32582 2007-01-12 16:58 startup.jar
    
    alan@affront ~ $ mkdir /usr/lib64/eclipse-3.1/plugins/dir
    mkdir: cannot create directory `/usr/lib64/eclipse-3.1/plugins/dir': Permission denied
    According to the above I am in the eclipse group, as is the plugins directory with corresponding write permissions, yet I cannot create a directory or other file within plugins.

    Also, whats this about?
    Code:
    alan@affront ~ $ id -Gn
    alan wheel cron audio cdrom video games usb users portage plugdev
    
    alan@affront ~ $ id -Gn alan
    alan wheel audio cdrom video usb users portage cron plugdev eclipse games
    I suspect that this discrepancy is related to the problem.

    Im on Gentoo (above is in bash), not that that should make a difference.

    Any explanations?

  2. #2
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    Try newgrp eclipse and see what happens.

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    8
    Quote Originally Posted by likwid
    Try newgrp eclipse and see what happens.
    Hi,

    No output, no change. The eclipse group existed already ...

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Enthusiast likwid's Avatar
    Join Date
    Dec 2006
    Location
    MA
    Posts
    649
    newgrp doesn't create a group. It switches your current default group.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •