Re: creating a device special file

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

 



On Sunday 24 October 2010 16:40:58 ptchinster wrote:
> http://lmgtfy.com/?q=how+do+i+change+file+permissions+unix
> 
> On Sun, Oct 24, 2010 at 10:03 AM, fabio de francesco <fabio@xxxxxxxxxxx> 
wrote:
> > Hi all,
> > 
> > In a device driver I usually use device_create() for creating device
> > special files in the /dev directory.
> > 
> > It creates the needed file with permission 0600. Instead I need to create
> > it with permission 0666. How can I do that?
> > 
> > Thanks in advance to anyone who will reply.
> > 
> > fabio
> > 
> > --
> > To unsubscribe from this list: send an email with
> > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
> > Please read the FAQ at http://kernelnewbies.org/FAQ

I meant to do that from a device driver, not from user space!

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux