PDA

View Full Version : [ubuntu] permissions for Desktop shortcuts



nucleuskore
July 13th, 2009, 09:17 AM
Hi everyone
I wanted to create a shortcut to my Windows partitions on my Ubuntu Desktop. So I opened a terminal and typed

ln -s /windows/c/ /home/neville/Desktop/C
ln -s /windows/d/ /home/neville/Desktop/D

and got the shortcuts. I then tried to create shortcuts which cannot be deleted by me unless I'm root. So I deleted the above shortcuts and gave

sudo ln -s /windows/c/ /home/neville/Desktop/C
sudo ln -s /windows/d/ /home/neville/Desktop/D

However I am able to delete these very easily. When I tried to see the ownership I see it's owned by root, and sudo getfacl Desktop/C gives me the following

# file: Desktop/C
# owner: root
# group: plugdev
user::rwx
group::rwx
other::---

groups neville gives me this
neville adm dialout cdrom plugdev lpadmin admin sambashare vboxusers

Any suggestions?