You are not logged in.
Pages: 1
I know there are a ton of questions about permissions, but I can't find this particular problem. I still posted it in Newbie Corner because I am assuming I am just making a dumb little mistake.
I've added myself to a bunch of groups using
sudo gpasswd -a [username] [group] but I can't do so much as change the time in xfce, or shutdown from the menu. I have to shutdown in the terminal using sudo. Now, that's not a huge problem, but I would like to be able to change the time from the menu and it seems like I should be able to.
I'm currently a member of all of these groups: sys, adm, disc, wheel, ftp, uucp, http, games, network, video, optical, floppy, storage, scanner, power,dbus,avahi,camera,usbmux,rtkit,kvm.
I've checked polkit and the default setting is that members of group wheel have the ability to administer the system, so I cannot figure out what's missing.
edit: Three different problems, all my fault for not reading the wiki very well. The clock just can't be changed by anyone by root, no matter the groups you are added to. The problem of shutting down from the menu was easily fixed by adding
exec ck-launch-session startxfce4to my .xinitrc file, instead of what I had which was
exec startxfce4The other permissions problem I was having that I didn't even mention here was that I was having problems with removable drives. I wasn't added to the group "users." When I did add myself to that group, I could do everything with removable drives from the file manager.
Thank you everybody so much for helping me!
Last edited by nickdab (2012-03-08 19:29:00)
Offline
How do you start xfce? With startx? Post here your .xinitrc file.
Offline
You have to *log out* the user, for the gpasswd changes to take effect.
Run "groups" to see what is currently in effect.
Offline
How do you start xfce? With startx? Post here your .xinitrc file.
Right after posting this I looked at the xfce wiki and realized I was starting it up wrong. Here is my .xinitrc file now:
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
exec ck-launch-session startxfce4
# ...or the Window Manager of your choiceThat did help me with the shutting down from xfce problem, but I still can't change the clock or look at any removable drives from Thunar (file manager).
You have to *log out* the user, for the gpasswd changes to take effect.
Run "groups" to see what is currently in effect.
I just rebooted, and "groups" outputs all of the groups I posted originally.
I forgot to say it in the original post, but thank you for any help on this. I really appriciate it.
Last edited by nickdab (2012-03-08 18:51:47)
Offline
I still can't change the clock or look at any removable drives from Thunar (file manager).
I'm not sure if non-root users can change the clock. But, maybe we can look at the removable drives problem. First, does it show up in Thunar (in the shortcuts side pane)? Or, does it show up, but not mount?
Offline
It's normal, that you can't setup clock. It's administrative function. Try it:
sudo hwclock --set --date="9/22/96 16:45:05".
With Thunar: Have you thunar-volman installed?
Offline
nickdab wrote:I still can't change the clock or look at any removable drives from Thunar (file manager).
I'm not sure if non-root users can change the clock. But, maybe we can look at the removable drives problem. First, does it show up in Thunar (in the shortcuts side pane)? Or, does it show up, but not mount?
It mounted, but wouldn't let me access it. But I just realized that when I go to /media/[name of drive] instead of just clicking on the drive from the drive menu in Thunar it lets me access it, I just can't write to it. When I do try to cp to it from the command line, it gives me this error:
cp: cannot create regular file `/media/[name of drive]/file.txt': Permission denied
but when I do it as root it's fine. Is that just another thing that can only be done by root? This issue isn't major at all, it would just be nice to figure out what I'm doing wrong.
With Thunar: Have you thunar-volman installed?
I do have Thunar-Volman installed.
Thanks again everybody!
Last edited by nickdab (2012-03-08 19:15:16)
Offline
What are your permissions on /media/FLASHDANCE/?
ls -l /media/FLASHDANCE/Offline
What are your permissions on /media/FLASHDANCE/?
ls -l /media/FLASHDANCE/
total 723168
-rwxrwxr-x 1 root users 734760960 Feb 22 23:18 Princess Mononoke English Dubbed.avi
-rwxrwxr-x 1 root users 106496 Feb 6 2010 SUPER_PI.EXE
drwxrwxr-x 2 root users 16384 Feb 16 17:16 Season 3
-rwxrwxr-x 1 root users 3421496 Nov 19 2009 Speccy.exe
-rwxrwxr-x 1 root users 180 Dec 11 2009 cpuz.ini
-rwxrwxr-x 1 root users 2172392 Jan 6 2010 cpuz64.exe
-rwxrwxr-x 1 root users 0 Mar 8 13:01 spotifyerror.txt
Offline
Is gvfs and thunar-volman installed?
Sorry for my bad English ![]()
Offline
Got it! I saw that the permissions said root and user, and I wasn't part of the group users! DUMB!
Thank you everybody soooo much, especially Proofrific and Pupizoid! I will mark this as solved.
Last edited by nickdab (2012-03-08 19:29:51)
Offline
Pages: 1