Re: udev rule/permissions question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/7/25 Kevin J. Cummings <cummings@xxxxxxxxxxxxxxxxxx>:
> On 07/25/2010 11:09 AM, Hiisi wrote:
>> Dear users!
<--SNIP-->
>
> What are the permissions on bus/usb/001/026?  From my testing, if you
> chown a symlink, it changes the permissions on what it points to, not on
> the link itself....

# ls -l /dev/modem
lrwxrwxrwx. 1 root root 15 26.7. 11:45 /dev/modem -> bus/usb/001/015

ls -l /dev/bus/usb/001/015
crw-rw-r--. 1 root dialout 189, 14 26.7. 11:45 /dev/bus/usb/001/015

>
> I did the following:
>
> % touch foo
> % ls -l foo
> -rw-rw-r-- 1 cummings cummings 0 2010-07-25 15:07 foo
> % ln -s foo bar
> % ls -l bar
> lrwxrwxrwx 1 cummings cummings 3 2010-07-25 15:08 bar -> foo
> % sudo chown root:wheel bar
> % ls -l foo bar
> lrwxrwxrwx 1 cummings cummings 3 2010-07-25 15:08 bar -> foo
> -rw-rw-r-- 1 root     wheel    0 2010-07-25 15:07 foo
>

Thanks for the hint, Kevin!
-- 
Hiisi.
Registered Linux User #487982. Be counted at: http://counter.li.org/
--
Spandex is a privilege, not a right.
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux