Ubuntu Servers :: Permissions Upon File Creation?

Feb 8, 2011

Is ACL the best way to ensure the permissions of newly created files? Basically I have a directory: /data/department

I've done chmod g+s on it so the group is correct on new files but I want new files to also have 775 permissions so the rest of the group can access these files fully. Currently they are created with the default 755 (which I want still every where out side of /data/department ).

View 9 Replies


ADVERTISEMENT

General :: Create File With 751 Permissions At Creation

Apr 5, 2011

I keep creating practice perl scripts in a linux directory using vi <filename> and need to chmod 751 <filename> before I can run it as I wish to. I'm sure there is a simple way to default my permissions or config them at creation, but I'm not familiar with it ayuda me por favor.

View 2 Replies View Related

Ubuntu Servers :: File Creation Error On Apache2 .cgi File?

Jan 14, 2011

I am using python as a cgi for a simple game that i'm planning to run on a website. It requires the user to enter his name and age. This is saved in a file newly created in his/her name. However, I'm getting this error The above is a description of an error in a Python program, formatted

63 for a Web browser because the 'cgitb' module was enabled. In case you
64 are not reading this in a Web browser, here is the original traceback:
65
66 Traceback (most recent call last):
67 File "/var/www/webprog.cgi", line 51, in <module>
68 main()
69 File "/var/www/webprog.cgi", line 44, in main

[Code]...

View 4 Replies View Related

Ubuntu Servers :: Folder And File Creation - Can't Successfully Share Editable Files Between Users

Feb 18, 2010

I'm trying to setup a Samba share for our work. I have it almost complete, however I can't successfully share editable files between users. The issue I'm having is that say User1 create a file test.txt, because of the 755 permissions, then User2, who has "writable" rights as per the smb.conf file, cannot edit that test.txt file.

Whevener I create a file with a user, its locked by that user. Is there a way I can set it that every folder/file a user creates is 777 ? I firgured that there's still security because of the "Valid users = " field in the smb.conf file.

View 9 Replies View Related

Ubuntu Installation :: Folder Creation Permissions Denied?

Jan 11, 2011

I'm trying to create a folder using the archive manager to install Resin (web server) in the usr/local folder but I get the error message 'error creating directory: Permission denied.'

Is this the easiest way to install an app--by using the Archive Manager--and if so how do I establish the correct permissions.

View 1 Replies View Related

Ubuntu Servers :: Allow All File-permissions For Everyone

May 11, 2010

on certain folders on a samba-server I would like to allow everyone everything.(Note: This refers to the filesystem-permissions. External security is cared for by samba. No problem here)That means: every local user and every remote user should be able to fully create, delete and modify every file in certain folders and all subfolder of these folders. This should include file contents and timestamps and permissions. And it should include modifying files owned by someone else, again meaning create/delete/modify/timestamp etc.

View 9 Replies View Related

Software :: Default Creation Time User Home Directory Permissions.

Jan 8, 2011

When I am creating a user (say sandy) on my FC14 system, I find that the default permissions for her home directory (/home/sandy) are 700.Can I somehow set up my system so that these permissions are 711 in place of 700.

View 3 Replies View Related

Ubuntu Servers :: Permissions For A Log File Being Changed?

Feb 23, 2010

I have a recently setup my first linux server (hardy) and am having problems with the permissions for a log file being changed. I believe this is caused by syslogd, but am not sure how to correct it. Bacula will report it is unable to start a backup because it is unable to open the log file (/var/lib/bacula/log) "permission denied". After changing the owner from syslog to bacula, the backup will resume. However, the following day I encounter the same problem because the owner of the log has been changed back to syslog.I see where the permissions for logs are altered in sysklogd, but I am not certain how to make bacula exempt or if this is the right approach.

View 1 Replies View Related

Ubuntu Servers :: Text File Containing Permissions?

Jun 9, 2010

Is it possible to have a text file somewhere that contains a list of all users that are allowed access to a given folder? This would be fantastic for file servers on a network.

View 1 Replies View Related

Ubuntu Servers :: File Permissions Server 10.10 ?

Mar 16, 2011

Trying to setup a file server for a small group of users and I am in need of help with file permissions with Ubuntu Server 10.10.

I have a single share mapping (ex /media/hdd1/share1). There are several folders that everyone will need read/write/edit permissions and there will be a few folders that all users will need read permissions and a couple of users will need read/write/edit permissions.

I have tried several things and as long as I create the folders/files through ssh using sudo, the permissions are fine, but when the users create file and folders through their computers (mixture of Windows and Mac) that user becomes the owner and no one else can write or edit those files.

I am using SAMBA and though it was a config issue with that but I logged each user directly into the server with the same issue.

I tried sudo chmod 777 /media/hdd1/share1 but all newly created files have the above issue.

View 1 Replies View Related

Ubuntu Servers :: How To Set Apache File Permissions

Jun 30, 2011

What is recommended way to set permissions of folders VAR/WWW for use with apache in 11.04? I would like to let the user "ABC" have access to read/write the website files in this directory. How should permissions on these files be set?

View 2 Replies View Related

Ubuntu Servers :: Default File Permissions Apache /var/www/?

Jan 14, 2010

This is probably a pretty basic question seeing as I'm pretty new to Ubuntu Server. I'm running a simple website from my Ubuntu Server machine with The files are all stored in /var/www/ and then subdirectories. The problem is that when I add files through FTP I need to go and change all of the file permissions since by default they do not have read access so can't be accessed through a web browser on another machine.How can I make the default permissions readable for the directory and all new files that will be moved in it

View 5 Replies View Related

Ubuntu Servers :: Cannot Change File Permissions On Server

Aug 25, 2010

I'm working on a remote Ubuntu 9.10 server, which is accessed via VPN. I installed Joomla, but had difficulty uploading new components, which I traced to a file permissions problem. I used FileZilla to FTP onto the site and tried to make the chmod changes I needed, but the commands kept failing. Eventually, I contacted the sys admin and told him I thought that there was an ownership problem with the directories. He checked and told me that I was logging in with exactly the same user name and password that he was using (it's not a live system currently) and that he could make chmod changes without any problems. Because all my attempts were still failing, he eventually did the following:

chown -R administrator:administrator /var/www

/var/www is where all the Joomla files are stored and Administrator is the user name.Now I find that when I run a chmod command in FileZilla, the server reports that it worked (see below):

Status:Connected
Status:Retrieving directory listing...
Command:CWD /etc

[code].....

However, if I go back and check the tmp folder permissions, I find that they are still set to 777.This still looks like an ownership problem to me, but I don't understand why the server seems to think that the chmod changes are working, when they aren't.

View 4 Replies View Related

Fedora Servers :: File Permissions - Get A 403 Forbidden ?

Jul 28, 2011

I have a web server set up, and for a while I just let it show the default "test" page, but now I am wanting to actually show something of my own.

I downloaded a couple templates from the internet (free ones), and copied the first one to the /var/www/html folder (including subfolders for ./images and such), and it used an index.php file, but when viewing in my browser, it showed the actual text of the file, not the graphics and images and stuff.

So I deleted those files and "installed" the second template, which uses an index.html file instead.

I am once again getting the default "Apache is running but not configured" page again, even though I have verified multiple times that the index.html file is located in /var/www/html

if I include the index.html file in the path to my website, I get a 403 Forbidden, so I'm thinking it has to do with file ownership or permissions.

I placed the files there as "root", and have tried several combinations of possible permissions (root:root is the owner:group) without any luck.

View 5 Replies View Related

Ubuntu Servers :: Folder Permissions Automatically Set When Creating File

Apr 27, 2010

I have a little problem: I have a share folder on Ubuntu server: - Dump That folder is share with SAMBA and everyone can put files on it
My problem is the following: When someone create a folder, the folder permissions are automatically set with:
(let's take my username: Yann)

Owner: Yann
Group: Yann

Clearly that's wrong.. I want the Group to be auto set has "users" so everyone can access the folders on that share. Anyone know how to change this ? chmod and chown is getting a bit boring

View 2 Replies View Related

Ubuntu Servers :: Default File Permissions For System Folders

May 5, 2010

I had a major raid event recently which caused my Ubuntu 9.04 server to recover part of its file journal on the system partition. This caused some of the file permissions to go all funny and I now need to change them manually.

What the file permissions should for the following folders:
/etc/
/home/
/lost+found/
/mnt/
/root/
/sbin/
/srv/
/tmp/

The server is running and I fixed the some of the ownership issues already. I use a basic LAMP setup with samba, and proftp.

View 2 Replies View Related

Ubuntu Servers :: Set Permissions On The File And Script So Program Has Access?

Jun 26, 2011

Looking for some help writing a simple script on my dapper server. I want the script to play a short 5 second wmv sound file. So I can tell another program to run the script. What player can or should I use and how can I set permissions on the file and script so my program has access to it . Total newb here

View 2 Replies View Related

Ubuntu Servers :: Change File Or Folder Permissions On A Separate Internal Drive In 10.10?

Jan 23, 2011

Every time I try to change file or folder permissions on a separate internal drive in ubuntu 10.10 desktop in sudo file manager, It sets it right back to the way it was before and doesn't save the permissions I want to change it to. The files aren't critical system files that are not even existent on this hard drive.

Its on a completely separate drive, Yet aren't I suppose to be in control of what gets changed to what? Instead of a Operating System doing something just for my safety? A simple AVI files permissions being changed shouldn't hurt anything. How to I stop ubuntu 10.10 from auto setting the permissions of my folders and files? Its really starting to me off right now. I've been looking around on google for Auto reset permissions for ubuntu, Haven't found one word about it. Yet I'm just going to assume someone might know how to resolve this? Or has dealed with this before.

I'm just trying to Forcefully set my folders on my separate drive all to 777 because they are all 775 and 755 and I can only access them with Write privileges if I run the SUDO file manager which I really hate having to do every so often I'm sure you can relate to how annoying it is to have to open up terminal and type something in to open a fully priviledged file manager.

View 5 Replies View Related

Ubuntu Servers :: Access My Phpmyadmin - Wrong Permissions On Configuration File - Should Not Be World Writable ?

Mar 16, 2010

I encountered a problem when I am trying to access my phpmyadmin the error came up: Wrong permissions on configuration file, should not be world writable!

View 6 Replies View Related

Ubuntu :: Desktop Icons Creation And Panel Content Creation After Login Getting Slower

Nov 17, 2010

I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.

View 1 Replies View Related

Ubuntu :: Change Permissions For File / Add These Lines Without Changing Permissions?

Oct 16, 2010

Finally I managed to install my printer/scanner drivers.The last thing I need to do is to add the following two lines to 40-libsane.rules (which is a read only file):# Brother scanners ATTRS{idVendor}=="04f9", ENV{libsane_matched}="yes".How can I change permissions for this file or add these lines without changing permissions?

View 2 Replies View Related

Ubuntu Servers :: User Creation In Postfix - Cannot Send Or Receive Email

May 3, 2011

I used this tutorial to setup to setup iSpconfig postfix courier: [URL] but i cannot send or receive email:

[Code]....

Basically when i create users in ISPconfig, something goes wrong, mysql is running and i have postfix-mysql installed and running too.

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Terminal - File Permissions - Put In Folder Have Full Rights For Members In The Group "staff"?

Feb 1, 2011

Now I have set up a terminal server at work, with Ubuntu 10.04LTS and Free NX terminal server. All works great, over all expectations. But I have some file permission problems. In the home folder I have mad a folder where files that all users should have full access to is put. The problem is that when a user puts a file there, only that user have full access to that file, other users only have read rights. How can I make it so that all files put in this folder have full rights for members in the group "staff"?

View 3 Replies View Related

Fedora Servers :: Creation Of Diskless Workstation As A Citrix Client?

May 22, 2009

I am currently working on a Diskless Fedora10 based PXE image that should auto login and then launch the ICA client without launching the desktop (so normal autostart will not cut it)I have got the image up and running, the clients boot correctly, autologin etc, but still launch KDE, and I was hoping replace the desktop with the ICA Client.

View 1 Replies View Related

Ubuntu Installation :: Why The File System Creation Fails

Aug 8, 2010

I'm trying to install Ubuntu alongside windows 7 on my machine, and currently I am having difficulty doing so.Upon initial boot of the LiveCD,it says the installer has encountered an unrecognized error and just goes straight to desktop environment. From there, I can restart the installer just fine but here is where the trouble starts.

Currently, I have a 2TB RAID 0 array utilizing 4 500GB Seagate barracuda SATA II drives. The controller is an nForce 780a NVRaid. I currently have two NTFS partitions for windows. One 150GB primary partition for C:, and another 781GB D: for the storage of games, music and movies.When I try to manually setup the partitions in the Ubuntu installer, I do it like this.

- 200MB ext2 primary partition for /boot
- 150GB xfs logical partition for /
- approx 750GB xfs logical partition for /home (You've probably figured out I'm following the same C: and D: scheme as in windows)
- 8192 MB partition for swap

I then proceed with the install. I see the progress bar complete for the boot partition, but then at about 7% for / it stops and gives a message saying partition creation has failed. I even tried using different filesystems like ReiserFS and Ext4. Same thing every time. I am running a 64bit quadcore system BTW if that is of any importance.

View 9 Replies View Related

Ubuntu :: Changing Default File Rights On Creation?

Feb 17, 2011

My problem is that I want newly created files to be 775 but they are 644 according to ls -l tho user that created can still write to file while other user in same group can't.

Current umask is 002.

Can't findout how to get newly created files to be 775. What should i do make all new files created by a user to be 775?

View 5 Replies View Related

Ubuntu Installation :: File System Creation Fails At 5%?

Jun 16, 2011

net book had some issues with windows, so i had to format its hard drive. i put in the ubuntu live image (usb) (yes i md5summed it, its fine) and i tried installing it using the guided partition (using the whole disk) and i tried setting it up manually, but regardless of what i try, when it attempts to format it to the necessary filesystem, it fails at 5% without fail. even IF i use GParted.

View 4 Replies View Related

Fedora :: Allow All Users On Creation Of A File?

Jul 15, 2009

I want to automatically allow all users read execute or write permissions on everything created by a specific user, is this possible? For example user Wendy creates an office doc, saves it on a shared folder. Then another user (usually windows log into this folder and wants to edit this file and cannot. I know I can edit the permissions on this particular doc to allow all users, but I want this to happen by default so I don.t have to keep changing permission on each doc....

View 5 Replies View Related

SUSE :: File Creation For Web Application?

Dec 2, 2010

Am using apache and php to build a web application and am trying to create the file outside my working directory but its not creating Anybody knows what is the solution for this

View 4 Replies View Related

Fedora :: CIFS Bad Performance On File Creation?

Sep 28, 2010

I am experiencing poor performance when using cifs share.Such poor performance occur only in the creation of files on the share but not in the rewrite.This is what i do:

Code:
#mount -t cifs -o guest,user=<user> //153.9.200.2/winshare /mnt/winshare/
# time dd if=/dev/zero of=/mnt/winshare/b.avi bs=1024 count=10000

[code]....

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved