LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 02-18-2012, 10:33 AM   #1
onedingo
Member
 
Registered: Jan 2006
Location: Pittsburgh, PA, US
Distribution: Arch
Posts: 69

Rep: Reputation: 20
brw-rw----+ permissions on /dev/sr0, what is +?


Code:
root@amanda:~# ls -alR /dev/ | grep "+"
brw-rw----+  1 root optical  11,   0 2012-02-17 17:53 sr0
crw-rw----+  1 root video 226,  0 2012-02-17 17:53 card0
crw-rw----+  1 root audio 116,  8 2012-02-17 17:53 controlC0
crw-rw----+  1 root audio 116,  7 2012-02-17 17:53 hwC0D0
crw-rw----+  1 root audio 116,  6 2012-02-17 17:53 hwC0D2
crw-rw----+  1 root audio 116,  4 2012-02-17 17:53 pcmC0D0c
crw-rw----+  1 root audio 116,  3 2012-02-18 09:51 pcmC0D0p
crw-rw----+  1 root audio 116,  2 2012-02-17 17:53 pcmC0D1p
crw-rw----+  1 root audio 116,  5 2012-02-17 17:53 pcmC0D3p
crw-rw----+  1 root audio 116, 33 2012-02-17 17:53 timer
root@amanda:~# stat /dev/sr0 
  File: `/dev/sr0'
  Size: 0         	Blocks: 0          IO Block: 4096   block special file
Device: 5h/5d	Inode: 5452        Links: 1     Device type: b,0
Access: (0660/brw-rw----)  Uid: (    0/    root)   Gid: (   93/ optical)
Access: 2012-02-17 17:53:46.534018700 -0500
Modify: 2012-02-17 17:53:46.534018700 -0500
Change: 2012-02-17 19:00:46.651095103 -0500
 Birth: -
So what is the + for? I've never seen that before.

I've looked in man {ls,chmod} and searching for + is useless in the forum search box.
 
Old 02-18-2012, 11:35 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,318

Rep: Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701Reputation: 1701
Hi,

The "+" means that there are some ACLs applied to that files (or devices in your case)
You can run
Code:
getfacl /dev/sr0
to see them
For more details read the manpages of getfacl, setfacl, acl

Regards
 
1 members found this post helpful.
Old 02-18-2012, 11:43 AM   #3
onedingo
Member
 
Registered: Jan 2006
Location: Pittsburgh, PA, US
Distribution: Arch
Posts: 69

Original Poster
Rep: Reputation: 20
That looks like that is it.

I never used acl's and my partitions are jfs which I don't think support acl. /dev being virtual must have support.

Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] end_request: I/O error, dev sr0 SeRi@lDiE Slackware 5 11-30-2010 05:43 PM
usbdisk Ubuntu 10.10 trying to mount /dev/sr0 metallica1973 Ubuntu 1 10-18-2010 09:41 AM
using flash drive changes device /dev/sr0 to /dev/sr1 for mapping to /dev/pktcdvd/0? lugoteehalt Linux - Software 3 10-24-2007 11:27 AM
/dev/cdrom links to /dev/sg0 instead of /dev/sr0 -why? Yalla-One Slackware 3 10-01-2006 08:02 PM
external cdrw assigned to /dev/uba instead of /dev/sr0 gchew Slackware 0 11-14-2004 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 04:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration