On 13/10/15 15:39, Bryce Stenberg wrote: > Sorry, I should add the file doesn't currently exist so is not in use, I'm > trying to create it again... >
I don't think copying a file into a device dir is going to do anything. The 'files' depend on the underlying device driver(?), so maybe the driver was updated with the firmware update so it doesn't expose the (?) fan control. What was the name and contents of the file you are trying to recreate? > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Bryce > Stenberg > Sent: Tuesday, October 13, 2015 3:38 PM > To: Canterbury Linux Users Group > Subject: [Linux-users] Permissions: root access but can't write to file? > > Hi, > > I've ssh'd into a Netgear NAS box to do a quick hack to adjust the fan speeds > up (previous adjustments disappeared on latest firmware update). I need to do > this as Netgear's defaults are a bit low, at different times I've already > had two 3TB drives fail possibly related to running hot. > > Anyway, I'm trying to copy a file into '/sys/devices/platform/nct6775.2608' > but get: > -bash: Permission denied > > I think this is based on debian but not sure, nor do I know how to tell. > > The directory listing for 'nct6775.2608' is: > > drwxr-xr-x 4 root root 0 Oct 13 14:37 nct6775.2608 > > > Sudo doesn't seem to exist, and I am connected as 'root'. I read the above > permissions to say root should be able to read, write and execute - but not > today :( > > So I've added files here in the past, before this update, does anyone have > any idea what I might be missing? > > Thanks, > Bryce Stenberg. > _______________________________________________ > Linux-users mailing list > [email protected] > http://lists.canterbury.ac.nz/mailman/listinfo/linux-users > _______________________________________________ > Linux-users mailing list > [email protected] > http://lists.canterbury.ac.nz/mailman/listinfo/linux-users > _______________________________________________ Linux-users mailing list [email protected] http://lists.canterbury.ac.nz/mailman/listinfo/linux-users
