Tagged Questions
0
votes
0answers
19 views
How to setup FTPS server in Ubuntu
At the moment I'm trying to setup a vsftpd server on 12.04 to allow users to login/download files via ftps to aid testing during some development work.
When I attempt to connect using FileZilla in ...
0
votes
1answer
38 views
bash permissions
My friend was trying to tighten up security on his ubuntu server and changed the permissions on bash. He logged out, and now the computer won't let him log back in.
The server is an off-site server ...
0
votes
1answer
51 views
transmission-daemon: error loading working config-file. User priveliges?
Transmission-daemon has worked perfectly on a small headless server for a long time. However, it currently gives me the following error:
transmission-daemon Error loading config file -- exiting. ...
1
vote
0answers
51 views
Ubuntu Server 12.04: can't write to nfs share
I have installed a small home server running 12.04, now trying to configure an NFS share with Webmin version 1.620. I have gradually lowered the security on the share to basically nil, yet any write ...
1
vote
0answers
75 views
How do I copy files with SCP to /var/www?
I need to copy files from my computer to my server's folders in /var/www so they are uploaded to my cloud. Here's what I try to do:
I open my computer's terminal and type:
scp ...
2
votes
1answer
64 views
How to set permissions for shared folders
I could use some help setting permissions for a series of shared folders. Say I have the following three folders:
/xfer/joe
/xfer/bob
/xfer/sam
Joe should be able to read, write and delete files ...
0
votes
1answer
155 views
Directory Permissions / Create Mask (Samba) (Ubuntu Server OS Directorys)
I want to understand the permissions a bit more! So I have a few questions:
Does this change the directory's permission?
sudo chmod -R 0777 Directory
And is there a list for the "create mask" and ...
2
votes
1answer
83 views
Script to change permission on content, and move files to other folder
I have a program that downloads some files. I want those files to automatically change permissions to 755, and get moved to another folder on my system. I want this to autorun every hour.
Is this ...
3
votes
2answers
70 views
Best way to put sensitive files on web server and keep them fro being accessible?
I need to put a private key on my web server for use with a php script, so I need the web server to be able to access the file in php script, but not allow users from the outside to be able to access ...
0
votes
2answers
454 views
Cannot change permission for /var/www/ [duplicate]
Possible Duplicate:
problems with sudo permissions - /var/lib/sudo owned by uid
I recently installed Ubuntu Server and put the GUI on so I can get the hang of Linux.
However, I can't seem ...
0
votes
0answers
25 views
Allow pureFTP access to /var/www/ [duplicate]
Possible Duplicate:
Whats the simplest way to edit and add files to “/var/www”?
I installed a LAMP server, then installed pure ftp from this post's directions:
...
0
votes
2answers
198 views
ubuntu server file permissions auto-change
Hello im having a problem with a project of mine, i have ubuntu server 12.04.1 lts, the problem i'm having is that i everytime i upload a file through ftp i need to modify file permissions otherwise ...
2
votes
1answer
82 views
Locked out of drive on Ubuntu Server
I was trying to delete some torrents that I had downloaded with transmission-daemon and was unable to from my samba share on windows due to transmission's default file creation permissions.
I ...
0
votes
2answers
594 views
gammu and device permissions
I have Ubuntu Server 12.04 LTS and on it I have installed gammu. I use it to control my "Nokia 5310 Xpress music" cell phone.
Now when I run "gammu --identify" it does not work, says I dont have the ...
0
votes
1answer
359 views
Set umask, set permissions, and set ACL, but SAMBA isn't using those?
I'm running on Ubuntu Server 12.04. I have a folder called Music and I want the default folder permissions to be 775 and the default file to then be 664.
I set the default permissions on the Music ...
1
vote
1answer
3k views
How to setup Samba shares to only be accessed by certain users?
I have a RAID10 array mounted on Ubuntu Server 12.04. I have created a few folders within the mount point and want the following functionality.
There will be 4 users, 3 of them are windows users: ...
1
vote
2answers
289 views
Is chroot the right choice for my use case?
Backstory:
I am working on setting up a MineCraft server and want to allow admins to have ssh access to the MineCraft server console and appropriate mc server files, but not the whole system. The ...
0
votes
0answers
191 views
How to switch from Apache 2.0 Handler to FastCGI on Ubuntu Zend Server?
I can't deploy/manage my Joomla websites On Ubuntu 12.04 Zend Server PHP 5.3.14 due to permissions during Joomla installation/J! extensions installation. All files are unwriteable. Only CHMOD 777 will ...
0
votes
2answers
712 views
Unable to write to directory
Hello and apologies if this has been asked...I couldn't find the answer easily.
I am using Ubuntu Server 12.04
I can't write to a directory where my user should belong to the directory's group...
...
1
vote
1answer
95 views
Installing Server Packages (how to edit protected files)
I'm a new convert to Linux and am building a new server using Ubuntu 12.04 (home network, server will be file storage and will run PHP/MySQL for my web development projects).
I am really struggling.
...
0
votes
1answer
156 views
Running command from TeamCity fails, but running it in the terminal it succeeds
I am attempting to build an ASP.NET MVC 4 project. From the terminal it succeeds. I am logged in as my admin account. Teamcity was installed with its' default settings.
From the command prompt:
...
2
votes
1answer
117 views
Permission to referance file in git changed on push
I have currently set up an ubuntu-server with gitolite and it works like a charm for the most parts. The only issue was when I downloaded and setup a web-gui (gitlist), to share my repositories. Im ...
0
votes
1answer
10k views
500 OOPS: cannot change directory: /home/user/public_html, VSFTPD error
I setup VSFTPD on my Ubuntu server 12.04, it worked very good. Until I tried to change the permissions of the user so the user couldn't go in the / directory and only in the directories inside ...
0
votes
3answers
2k views
Correct permissions for /var/www and wordpress
Hello and thank you in advance!
I am relatively new to ubuntu, so please excuse the newbie-ness of this question...
I have set up a LAMP server (ubuntu server 11.10) and I have access via SSH and to ...
2
votes
1answer
7k views
How to change the default permissions of files created by transmission-daemon?
I have a machine running Ubuntu 12.04 server with transmission-daemon running to handle bitorrents. Everything works fine except the transmission-daemon creates files as the user/group, ...
3
votes
1answer
5k views
Apache gives 403 Forbidden
Server: Ubuntu 12.04 w/ LAMP
I can access the default index.html, but I created a symbolic link to a folder in my Dropbox. Whenever I try to access 192.168.2.6/Joomla (Joomla is the symbolic link), I ...
1
vote
1answer
368 views
changing permissions of `nyccrash.txt': Operation not permitted
I have an assignment to write PHP code, and upload the data to our school student's account. To make sure my script is working, I need to change the permissions on the files.
I am not a root because ...
1
vote
0answers
350 views
Why access is denied to Windows users when saving files in a dir shared with Samba? [closed]
I installed Ubuntu Server 11.10 + Samba
I'm using Webmin to share folders in samba and give permission to users.
In windows xp I can log to Samba and open the shared folder but when
I save a file it ...
0
votes
1answer
512 views
Permission denied for many directories with Rsync
I'm using Rsync to backup an Ubuntu Server server. I'm getting a lot of permission denied messages. Is there a command I can use to see exactly what directories were denied? I could scroll back up ...
0
votes
1answer
109 views
Executing adb from php
I am trying to run adb from PHP using:
exec( 'adb devices', $output, $return_val );
but I get 126 error.
I think the problem is that php is running as 'www-data' user and does not have permissions ...
2
votes
1answer
361 views
How do I allow a user to only access one directory and its content?
I am using Ubuntu Server 11.04, and I want to know how to make a user access /var/www/site1 only.
5
votes
5answers
3k views
How to enter to the directory with 'cd' command if it has 700 permission
I tried to use sudo cd name_of_dir but getting following error message: sudo: cd: command not found.
Is there any other way to open a directory which has 700 permission?
1
vote
1answer
703 views
Give apache permission to write to /home/*/www/ directories
LAMP server newbie here:
I have a web server (on a VPS that I have full root access to), in which I'm setting up a few users with websites for.
I have apache2 and php set up, and I have manually ...
0
votes
1answer
480 views
SVN server only allows commits when run as root
So as of two days ago, i had myself a shiny new SVN server. I set it up for WebDAV with no problems. It wasn't until i tried to host multiple projects that i ran into trouble.
At first, i had all of ...
4
votes
2answers
8k views
How to show current permissions of a folder
I want to find out who has what permissions on a certain folder. How would I go about viewing this?
The folder in question is /srv/www
3
votes
2answers
4k views
Forceably set permissions when running rsync
Currently I am backing up gigabytes and gigabytes of data from a live server to a backup server using an rsync/ssh combination script, allowing for automated operation every night with a cron job.
...
7
votes
2answers
4k views
AWStats: cannot access /var/log/apache2/access.log
I installed awstats on my new Ubuntu Lucid server, but when cron tries to run it as user www-data, it complains that cannot access /var/log/apache2/access.log: Permission denied.
In ...
3
votes
1answer
2k views
How do I give apache access to a samba share?
I'm running a web server and the public_html folder is in a windows network drive shared by samba on Ubuntu Server 10.04.
I have apache2 VH set to point to the folder and it works great. However, ...
3
votes
2answers
10k views
What file permissions should I set on web root?
I use Ubuntu Server 10.10 and have installed Nginx web server with apt-get install nginx. It creates a default web page at /var/www/nginx-default/ and that directory has the permissions drwxr-xr-x 2 ...
0
votes
3answers
1k views
Used recursive chown on the root directory [closed]
Im gonna need some help restoring my ssh settings as i screwed everything up by calling this command:
chown -R user /
At the moment im not able to access the site through ssh/ftp since the ...