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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux