how can I add chmod u+s file in the init.rc of linux
I added it as is... chmod u+s but it's not working. any other ideas?
how can I add chmod u+s file in the init.rc of linux
I added it as is... chmod u+s but it's not working. any other ideas?
The directory where "filename" was had less rights than what you wanted for "filename". So, even though filename was supposed to be 0777, the effective rights were the one of "parent directory". To fix it you do:
chmod 0777 "parentdirectory"
chmod 0777 "parentdirectory/filename"
edit: if yout want
chmod 0777 "sys/etc/folder/anotherfolder/file.rc"
u have to chmod 0777 "sys/etc/folder/anotherfolder"
too. You have to give the right on that Upper folder.#
I mean the Upper folder dosen't have the rights. Thats it
u+s = 4000