Vagrant set default share permissions
When running a vagrant instance the project folder is mounted on /vagrant automatically. However is mounted with the following permissions # ll -d /vagrant drwx—— 1 vagrant vagrant 612 Jun 13 14:41 /vagrant/ I need it to be mounted with (at least) 0770 but I can’t find how. If I run the mount command I see this output # mount v-root on /vagrant type vboxsf (uid=1000,gid=100,rw) I’ve tried both chmod and chown/chgrp, but they won’t [...]
Continue Reading »UBUNTU: ftp-server cannot change directory when user logs in
I have set up a FTP-server (vsftpd) for only one client user (ftuser). This user should have access to the folder /srv/webroot/user. The folder /srv and all subfolders are owned by me. I am not in the same group like the ftpuser is. Now I have tried to implement the user’s permission in the following way: chmod 770 -R /srv chmod 777 -R /srv/webroot/user But when the user tries to login via ftp the FTP-server [...]
Continue Reading »Apache httpd permissions
I have created a directory /xyz/www With the following permissions: -rw-r–r–. 1 myuser developers I edited my http.conf: DocumentRoot “/xyz/www/” <Directory “/xyz/www/”> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> I get 403 error: You don’t have permission to access / on this server. Looking in the logs: (13)Permission denied: Can’t open directory for index: /xyz/www/ I’ve tried recursively adding 777 permissions but still have the same issue. Asked by DD. What [...]
Continue Reading »Can’t access to a folder as administrator
SCENARIO: Windows Server 2008 I am logged as administrator. When I try to access to the Documents and Settings folder, I get the error message as show in the image (point 1) Well, i tried to check the permission on that folder, and suddenly i notice that Administrator dont have nothing set (i mean all the privileges was blank [not ticked]) so i try to edit and set those permission. When i clicked OK i [...]
Continue Reading »Automate SQL Server 2008 backup script failing to run
I have created a maintenance plan but when I try to execute I get the error: Message [298] SQLServer Error: 15404, Could not obtain information about Windows NT group/user ‘XX\Administrator’, error code 0×534. [SQLSTATE 42000] (ConnIsLoginSysAdmin) I have given administrator db owner access but still get the error, what am I doing wrong? Asked by Techboy Usually when this happens you just need to edit the job and save it again. This will “usually” fix [...]
Continue Reading »Change folder permission for apache on VPS
Symfony 2 config keeps saying Major problems have been detected and must be fixed before continuing : Change the permissions of the “app/cache/” directory so that the web server can write into it. Change the permissions of the “app/logs/” directory so that the web server can write into it. My steps: rm -rf app/cache/* rm -rf app/logs/*chown -R www-data:www-data app/cache chown -R www-data:www-data app/logs Via ftp I change permisson on this folders to 777. Apache [...]
Continue Reading »A user in multiple user groups not receiving correct permissons
A little intro: I’m not a server admin, but I do some tech support for a small software company whose product requires users to have full control permissions to a mapped drive on the server in order to share files required for multi-user use. I believe our software uses an Access database. My question is, let’s say you have three user groups, A, B, and C. In order for our software to function correctly, a [...]
Continue Reading »Linux execute permissions
-rw-r–r–. 1 myusername developers 169 May 17 09:01 build.sh Why is it I can execute the build.sh script from the command line if it does not have execute permissions but when crontab tries to execute it, it fails? Asked by DD. You can’t execute that from the command line, because it doesn’t have execute permissions. What you can do, is to source it from the command line, . ./build.sh which causes the current shell to [...]
Continue Reading »How do I hide a directory of text files on IIS?
I have a directory of text files on IIS. I would like this directory to be hidden. I have set the web.config as follow: <?xml version=”1.0″ encoding=”utf-8″ ?> <configuration> <system.web> <authorization> <deny users=”*” /> <!– Denies all users –> </authorization> </system.web> </configuration> But I can still see a full directory listing of the files, as well as access the files over the web. What am i setting wrong? I have tried this too: <system.webServer> <security> [...]
Continue Reading »HTTP 403 (error 13) with Zend CE on OS X
I’m getting a HTTP 403, with permission error 13 (file system?) using Apache (bundled with Zend Server) on OS X 10.7.4. [Thu May 17 16:40:58 2012] [error] [client ::1] (13)Permission denied: access to / denied Here’s my config in httpd-vhosts.conf <VirtualHost *:81> DocumentRoot “/Users/shamil/Documents/Sites/shamil_blog” ServerName blog.shamil.local ServerAlias blog.shamil.local ErrorLog “logs/shamil_blog-error_log” CustomLog “logs/shamil_blog-access_log” common DirectoryIndex index.php <Directory /Users/shamil/Documents/Sites/shamil_blog> Options +Indexes +FollowSymLinks +ExecCGI DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost> I have set [...]
Continue Reading »Recent Posts
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?



