Ubuntu :: Advanced - IT Groups Can Read / Write Files But Others Have No Permissions

Jan 28, 2011

I have a file server running 10.04. I have a user that belongs to 2 groups (users is the primary and IT is the secondary). I have permissions set up so that this user and other users that belong to the IT groups can read/write files and others have no permissions whatsoever. I have also set the umask to 0007 so that any files created have the effective permissions. My concern is this: since my primary group is users, is it possible for me to create files with the owner group IT for only this specific folder?

View 2 Replies


ADVERTISEMENT

Ubuntu :: Mount CDROM With Read / Write Permissions?

Mar 19, 2010

I am running Karmic x64 on a HP laptop that has a cd/dvd burner. I have a r/w cd with files on it and I wish to add/remove files to it. After it mounts automatically on insertion, I unmount it and remount with:
sudo mount /dev/sr0 -t iso9660 -w /media/cdrom
(I tried assorted other hare-brained things also) but it always says that the filesystem is read only. Do I need to use a different device than sr0? Is it even possible under Ubuntu?

View 1 Replies View Related

Fedora :: Chmod GUI For Read And Write Permissions?

Nov 25, 2010

Is there also an chmod GUI for read and write permissions?

View 5 Replies View Related

Ubuntu Servers :: SAMBA Share Read Write Permissions?

Mar 23, 2010

i have setup a samba server and created samba shares on it, i have configured the samba server to authenticates users from a windows server 2003 DC,

i have 2 shares call IT and MYSHARE, I want to give read and write permissions to sevaral users to those two shares and read only permisson to all the other users.

i tried editing the smb.conf file with the following settings , but no one can write or modify the files in the shares including the users specified in the
write list = cweerasinghe,njayarathna.

[IT]
writeable = Yes
browseable = yes
public = no
comment = IT share

[Code]....

how can i give access to the write list = cweerasinghe,njayarathna users to
read, write and modify the files in the shares ??

View 4 Replies View Related

Ubuntu :: Edit File Permissions - Read / Write Access

May 6, 2010

I have apache2 running on my computer. I want to change the permissions for /var/www/ so that I can edit the files without a problem. Right now I can use the gksudo command, but I'd like to be able to have all the files available when using an IDE like eclipse.
I've read in several places that
Code:
chmod 755 /var/www
will do, but if I'm not mistaken that would give read/write access to anyone. I'm not in a production environment, so I'm not too worried about security, but I'd like to give anyone else as less permissions as possible. Would this be possible?

View 2 Replies View Related

Ubuntu :: Give Read And Write Permissions To Game Folder?

Aug 6, 2010

Just finished downloading a game in .run format, i downloaded it to my Home>Downloads folder and ran these commands in terminal: (game is tremulous if it matters)

chmod +x tremulous.run
./tremulous.run

It started it up in the terminal and i began working my way through the installation process, and i tried to install it into my Home>Games folder. (Is it supposed to be home>games or your username>games?)

and it said PERMISSION DENIED. No write permission to Home/Games/

How do i give myself read and write permissions to my game folder?

View 3 Replies View Related

General :: Chmod To Allow Read And Write Permissions For Directory?

Mar 31, 2010

I have created directories in root. I am looking for the chmod command to allow all users read and write permissions to a specific directory. I have done chmod 775 for a file but I need this for a directory. This includes permissions on all files and sub directories.

View 3 Replies View Related

General :: Set A Group With Default Read & Write Permissions?

Jun 14, 2011

What I want to be able to do, is have create a group, for example called "group1" and set its default permissions to read & write, instead of the usual just read.

So when I add a user into "group1" they automatically have read & write access to all files & directories which is in "group1".

Oh & I use crunchbang 10 (statler) for my desktops & Ubuntu 11.04 for my NFS/print/SSH/etc/etc server

View 3 Replies View Related

Security :: Set Permissions For Multiple Groups To Have Different Levels Of Access To One Group Of Files?

Feb 5, 2010

I am setting up a samba server to operate in a windows AD domain. I want to set permissions for multiple groups to have different levels of access to one group of files, and it looks to me like unix permissions will not do that? I always hear about how robust linux is, and it seems to me that their file permissions model is WEAK compared to microsoft's?

View 2 Replies View Related

General :: File Permissions - Read Or Write Access To Different Users

Jul 8, 2010

I own a particular file on a Linux system. I would like to give 2 groups (accounting, shipping) read access and only read access, and 3 users(Mike, Raj and Wally) write access and only write access. How can I accomplish this?

View 3 Replies View Related

Networking :: Samba Automount With Full Read / Write Permissions

Mar 24, 2009

I have 4 machines; all multiboot. I want each machine to have full rw access to file shares on each other machine, AND, full rw access to the other partitions on the same machine home folder for UNbooted OS's. I imagine Samba will NOT handle all these configurations? What else do I have to do, so that, for example, if I have 2 machines on, and I boot up a third machine in another room, it will auto mount the other 2 machines' shares, and it export it's own shares to the other 2 machines? I want also each machine to have full rw access to shares on the UNbooted partitions of each machine.

View 1 Replies View Related

Software :: Setting Read / Write Permissions For External Drive?

Mar 31, 2010

I am using sun micro system. We have installed fedora in that. I want to know how to give R/W permission to a external hdd...

View 1 Replies View Related

Debian :: Mount Partitions With Read/write Permissions Automatically As The Systeme Starts?

Dec 10, 2010

I'm new to debian ,I was trying to mount my NTFS partition but I did that only with read permissions I couldn't install ntfs-config(allthough I have ntfs-3g installed).So I want to figure out how to mount my partitions with read/write permissions automatically as the systeme starts ?

View 2 Replies View Related

General :: Permissions - Manually Mount A File System Read/write As A Normal User?

Oct 6, 2010

I want to simply mount an ext4 file-system onto a normal mount point in Ubuntu (/media/whereever), as read-writable for the current logged-in user, i.e. me.

I don't want to add anything into /etc/fstab, I just want to do it now, manually. I need super-user privileges to mount a device, but then only root can read-write that mount. I've tried various of the mount options, added it into fstab, but with no luck.

View 3 Replies View Related

Ubuntu :: External Hard Drive - Error "read / Write Permissions" On The Folder Properties

Dec 16, 2010

i borrowed an external hard drive from my friend to back up a load of stuff on my windows partition before reinstalling it. I am doing this through ubuntu. I am trying to zip up folders like My Documents etc and chuck them on the external hard drive but it always comes up with errors to do with read/write permissions. In the permissions tab on the folder properties of the ext hard drive it says I am owner but i have no file access (only folder access is create and delete files). When i try to give myself read/write permission it just goes straight back to nothing when i look at it again.

View 2 Replies View Related

Ubuntu :: How To Make Files Read And Write

Jan 12, 2010

i know that chmod +x makes a certain file executable but how do i make a file read and write.

View 3 Replies View Related

Fedora :: Mounting Windows Server08 From Fedora 8 With Read/write Permissions?

Oct 7, 2009

I have Fedora 8 and we just switched over from a Windows "File Server" to Windows Server 2008 (10.1.1.17). I updated my fstab file and now when I go onto the Windows folders, I can list and read files, even save them, but new files are always read only.

fstab file (some, without the asterisks):
//10.1.1.17/USERS/Jeff/fs /home/mriuser/Desktop/fs cifs rw,username=jsadino,password=**** 0 0

I've tried ntfs-3g, auto, ntfs, smb, some umask combinations, changing ownerships, changing permissions, everything I could think of, but still can't modify new files.

[root@localhost tmp10]# mkdir tmp2
[root@localhost tmp10]# cd tmp2
[root@localhost tmp2]# touch tmp
[root@localhost tmp2]# ls -l

[Code]...

View 3 Replies View Related

Debian :: Don’t Have Write Permissions To Edit Files

Apr 13, 2016

I got Whonix set up, and everything in place to be running correctly and I was on cloud nine. The only problem I'm having is that whenever I try to go in and change my index.html files in /var/www/, or really do anything (add new file/folder, save or delete a file) I get the message that I don't have the right permission to do anything other than open and close the folders and files.

View 10 Replies View Related

General :: Find All PHP Files With Group Write Permissions?

Jun 23, 2010

I've been trying to get the -perm option of find to give me all PHP files that are group writable. Should this work?

find -name "*.php" -perm g-w

View 1 Replies View Related

Ubuntu :: Cannot Read Or Write Extracted Japanese Files

Jun 14, 2011

I've extracted a few files through the archive manager through Ark (as well as through the command line) and some folders/files that were originally in Japanese are not properly displayed in the terminal or file browser. I can't delete them nor open them; I am informed that this file does not exist.I am running Kubuntu 11.04. I had a similar problem in Ubuntu 10.04 in that the text was not displayed properly, but the files were readable and writable.

View 2 Replies View Related

General :: Read/write Files In C Language?

Sep 8, 2009

Such as the title

View 2 Replies View Related

Ubuntu :: Share Files - Read & Write - In EXT4 Partition

May 2, 2011

Recently i formatted my HDD into 5 partition namely :-

1) Win Vista
2) Ubuntu /
3) Home
4) Swp
5) EXT4 (Purpose is to share files between ubuntu and vista)

I'm wondering if its possible to install Virtual Box on both OS but pointing only to 1 virtual machine.

Also if its possible to permanently mount the shared partition on both OS.

View 2 Replies View Related

Ubuntu Security :: Read/write Access To MP3 Files In /usr/Music?

May 2, 2011

I had to reinstall Ubuntu (Natty) on a brand new computer and while installing I setup the datas partition to be mounted in /usr but now I can't have access to files I put in there even if I setup the group/user permission! I can accezz /usr/Music but all files are locked

View 5 Replies View Related

OpenSUSE Network :: Samba - Use The "read List" And "write List" Options With Groups Under Share

Apr 27, 2010

I have a Samba server running in my Lan (mainly for file and print service). This server will act as a PDC (don't ask why...). I have a question: Under a share I can use the "read list" and "write list" options with groups (eg @users). Is that group a Linux or Samba group? If it's the later, am I forced to use the net groupmap command, or it is sufficient to have a group name in the /etc/group file? Should I add samba/linux users to that group (with net rpc) or is sufficient to have the group membership set in the linux?

View 4 Replies View Related

Ubuntu :: All Files Changed Permissions To Read Only - Wont Change Back

Feb 2, 2010

Something has changed all my file permissions to read only and when I try and change them back it wont let me. Is there something I can do i Nautilus to correct it?

It even effects the waste basket-all the stuff in there is now read only and when I delete items I get a file operations window, which comes and then goes like its deleted them, but they re still in the waste basket, doesnt show an error message like it does if I try and move any other file.

View 9 Replies View Related

General :: Write A Short Script That Tells Whether The Permissions For Two Files Whose Names?

Apr 4, 2011

Write a short script that tells you whether the permissions for two files, whose names are given as arguments to the script, are identical. If the permissions for the two files are identical, output the common permission field. Otherwise, output each filename followed by its permission field

View 5 Replies View Related

Ubuntu Servers :: Running Php Files Without Setting Read / Write Permission?

Jun 26, 2010

On an Apache2 server someone else setup, I have a folder with drwx--x--x permission and the php file can still write in the folder. But on my own setup, I need to set the same folder to drwx--x-wx. Inside the folder, I have a index.php that runs just by setting rwx--x--x but on my own setup, I need to allow read permission for others/group before it can run: rwxr-xr-x (or else I get a blank page). I tried changing the folder and files to root but it's the same.

View 5 Replies View Related

Fedora Servers :: Cannot Start Apache - No Read / Write Access To HTTP Files

Jan 14, 2009

I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:

Code:
Summary:
SELinux prevented httpd reading and writing access to http files.

Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.

Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"

Fix Command:
setsebool -P httpd_unified=1

I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
Code:
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php
</VirtualHost>

<VirtualHost 192.168.1.2:80>
SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>

Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.

View 10 Replies View Related

Server :: FTP Permissions For Several Groups?

Aug 1, 2010

I have a FTP server (vsftpd), and would like to setup different file permissions for different groups:

-"ftpusers" group should only be able to browse and download.

-"ftpadmins" group should be able to browse, download, AND WRITE (RNFR, RNTO, MKDIR....).

Let's say my main directory is /var/ftp/docs/. It should be accessible by "ftpusers" group, but only writeable by "ftpadmins" group. Other groups or users may not access it. Which permissions and ownership should I give? My problem is that the dir can't be owned by two groups...

View 2 Replies View Related

Fedora :: Strategy To Set Up Groups And Permissions

Nov 12, 2009

I'm setting up a Fedora 11 server for the company of one of my friends. So far so good. But now he has asked me to setup access restrictions to folders through samba. Now I'm quite familiar with user access policies, even though I'm quite new to the GNU/Linux world. What I want to know is : what is the best way to give and remove, on the go, rwx access for a specific user to a certain folder in a linux system? Can I create groups for each folders, whose members will have the given permissions? Or do I have to create users for each folder and add to their group the user witch i want to give privilege to?

View 5 Replies View Related







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