/bin Directory

Posted by swurvin, 05-06-2007, 09:12 PM
Hello. I wonder if anyone has any ideas on how I go about unlocking my bin directory and making it writable again. I tried to do installworld with the latest freebsd release and as soon as it gets to the bin directory I get a permissions denied error. I looked at the permissions and ownership compared to another freebsd box and they all look the same. I tried to create a file by using touch just to test it and I received permission denied error. Thanks in advance. Dan

Posted by PrimaryVPS, 05-06-2007, 10:08 PM
Are you logged in as root?

Posted by swurvin, 05-06-2007, 10:16 PM
Yes I am. I figured out the problem, the tech that loaded the server had used the chflags command on the bin and sbin directory. I guess to help secure it. I found this by doing ls -lo and the files all had been set too schg? I removed the flags and everything worked flawless. I am not familiar with chflags I guess I need to study up on the man page. looks useful.

Posted by YUPAPA, 05-07-2007, 06:25 AM
Is like a file attribute command that you can set the file to writable or read-only or append things to it

Hai trovato questa risposta utile?

 Stampa Articolo

Leggi anche

Can some explain this in a simple way?

Posted by subhash, 02-21-2011, 07:52 AMHello Guys, Can some body explain what exactly is...

Remount back up hard drive

Posted by Peter_Net, 09-15-2007, 07:41 PMHello, I have a second hard disk for cpanel back up...

Mysql query LIKE%

Posted by net4all, 03-12-2010, 05:32 AMI got a special mysql-problem: I have a table containing...

Suggest me a good book to lean server administration

Posted by servlet, 04-21-2009, 02:48 AMCan any one suggest me a good book that covers web server...

Free script that hides links?

Posted by bambinou, 11-12-2012, 04:29 AMHello, I would like to know if you have ever seen a...