/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

Was this answer helpful?

 Print this Article

Also Read

Bluehost (Matt Heaton) gives back to the community

Posted by mrzippy, 03-28-2008, 11:14 AMhttp://mattheaton.com/?p=126 Thanks Matt. Posted...

VMWare IIS and SSL mystry

Posted by WebGuru72, 07-18-2007, 12:58 AMHello All, I have a very weird problem, I have a...

Question for Nameserver

Posted by tinhnho, 07-16-2007, 11:57 PMHi everyone, I installed DA, and setup my ip...

Reselling SSL certificates

Posted by luxor, 09-28-2001, 11:11 AMHi: Does anyone know which company is the most...

Any security risks with setting up server on home network?

Posted by Papa G, 06-28-2008, 04:09 PMAny security risks with setting up server on home network?...