Server :: Saving A File Removes The Group Execute Permission?

May 23, 2011

Here are some example files that are shared through samba:

-rwxrwx--- user1 group1 file1.txt
-rwxrwx--- user1 group1 file2.txt

When user2 (who is also a member of group1) edits file2.txt the permissions change:

-rwxrwx--- user1 group1 file1.txt
-rwxrw---- user2 group1 file2.txt

user1 then has issues opening the file. This also goes for new files that are created (they are missing the group execute permission).

I have set the option "create mask = 0770" in my smb.conf. Without this set, permissions default to something like -rwxr--r--

View 1 Replies


ADVERTISEMENT

Ubuntu :: Share File Permission \ Some One Copy Their File In This Folder The Permission Is Marked As "no Group" "no Owner"?

May 18, 2011

I'm using ubuntu 11.04, I'm having some problem of ownership while sharing folder/files. to share i change the folder share option:1. Share this folder, then followed by 2.allow others to create and delete files in this folder3. guest access.Now if someone in my local network edit any file and save it, it gets locked. if some one copy their file in this folder the permission is marked as "no group" "no owner". and they get unaccessible to me. i tried doing chown <user> <folder> but it says Operation not permitted. Now how i can possibly share my folder on local network so that they can be edited by others without getting locked down , if they copy files i can able to modify them.

View 2 Replies View Related

Security :: File Permission - Read An Execute Only File

Dec 16, 2009

Suppose I have a binary program with only execute permission enabled for the current user. How (in general) would I be able to obtain a core dump of the file? I think I have read it somewhere but I want to know if there are more ways of doing it.

View 1 Replies View Related

General :: Set Permission Type On A File To A Particular User In A Group?

Jan 20, 2011

i want to set permission type "write" on a file to a particular user in a group of users ( not all users in that group). chown is changing a user to root , but i want to set say permission of "write" only to a user 1 in group staff which contains 10 users 1 , user 2 ...user 10.

View 3 Replies View Related

General :: File Permission. Write And Execute Only?

Jan 11, 2011

Is there any use if a file has only write and execute permission and not read permission?

View 2 Replies View Related

General :: Changing File Permission To Execute?

May 12, 2011

My shell script runs from the command line, but fails in cronjob. /bin/sh: asper.sh: Permission denied

-rw-r--r-- asper.sh I guess the permission should look like '-rwxr-xr--' How can I change the permission to be like that?

View 2 Replies View Related

Ubuntu :: File (group) Permission Dont Work As Expected

Feb 4, 2011

Well, this is a problem that keeps on coming, and I never found a solution: Maybe it is just me misunderstanding how it should work, but:

1) do you confirm that, as a member of the group "fuse", I should be able to read the file?
2) of course, I could change the permission of the file, or read it as sudo, but sometimes this is not possible. how to achieve it then?

View 7 Replies View Related

Fedora Servers :: Apache Execute Permission To Save Uploaded File?

Sep 10, 2009

here is the upload form:

<form enctype="multipart/form-data" action="uploader.php" method="POST">
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="submit" value="Upload File" />
</form>

[Code]...

View 1 Replies View Related

General :: Windows Access The File From Ubuntu Got Read Only Even Though Have A Full Permission To Read, Write And Execute The File?

Feb 4, 2010

What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.

View 1 Replies View Related

Software :: Allow A Group/user To Execute A Command, Where One Of The Parameters Of The Command Is A Group As Well?

May 3, 2010

Is it possible to allow a group/user to execute a command, where one of the parameters of the command is a group as well? example that does not work as intended:

Code:
Cmnd_alias SU=/bin/su -l %group1 This example works sortof, it treats the "%group1" literally. I know I can list out the "/bin/su -l <eachuser>", but as you can imagine that is impractical. In this example, I want people in group2(not shown for brevity sake) to be able to su to someone in group1

View 13 Replies View Related

General :: Saving Permission Changes For Device?

Dec 1, 2010

I have installed a driver on SUSE, and changed permissions for it (/dev/name) with the chgrp command.

However after rebooting my computer the change is lost. How can I save the permissions for the device?

View 1 Replies View Related

General :: Mount The File Server Share On Application Server And Execute

Jan 8, 2010

i have purchased sun server for my visualization project. Request you to help me finding the io for disk .I have put storage(disks) on different location (File Server) and on server (Application) i have configured 4 virtual machines.

How would i monitor the io for file server from the Application server where i have configured 4 virtual machine. one way to mount the file server share on application server and execute

dd if=/dev/zero of=/share/test.out bs=1024 count=1024 to check the read and write Is there any other way of doing this.

View 1 Replies View Related

General :: Secondary Group Users Need To Change File Permissions Of Primary Group Files?

Oct 19, 2009

i want secondary users can able to change the files permissions of primary group?user MAC is having www as a primary and httpd as secondary group. But he want to change the file permissions (chmod) httpd group files. Is it possible or not? I think its not possible. If it`s possible then let me know how?

View 3 Replies View Related

Ubuntu :: Saving Python Programs - Error Permission Denied

Apr 11, 2010

I wanted to save a python program because I am reading byte of python and I went to save in !/usr/bin. When I try to save in this folder I get this error "[Errno 13] Permission denied: 'usr/bin/helloworld.py'.

View 9 Replies View Related

Programming :: A Script That Removes Doublets Lines Into A Txt File?

Jun 12, 2009

Eventually, does this program already exist for bash/console ?

View 14 Replies View Related

General :: Group Member Not Able To Write To Group's File?

Feb 8, 2011

I have a group (GROUP) with a number of users. I recently added a new user (NEW). NEW is able to read but not write group files, whereas all the other users in the group can read and write to the group files. The permissions for the group files indicate that all members of group should have write permission -rwxrwxr-x

/etc/group indicates that NEW is a member of GROUP
...
GROUP:x:501:GROUP,OLD,OLD2,OLD3,OLD4,....,NEW

[code]....

Don't know if it matters, but both OLD and NEW write to the GROUP files over an internet connection. why NEW can't write to GROUP files? Is there a maximum number of members in a group that I might have exceeded?

View 2 Replies View Related

Ubuntu :: Allow A Specific Group On Machine To Execute One Command With Sudo?

Aug 22, 2011

I'm trying to allow a specific group on my machine to execute one command with sudo without requiring a password, so what I want to do is add something like this to sudoers:

%groupName ALL = (ALL) NOPASSWD: /bin/bash /path/to/shfile.sh argument1 argument2

argument1 needs to be a url : http://subdomain1.subdomain2.domain.com

argument2 needs to be a path of the form /var/www/demo/SomeFolder/application/config/config.php

How do I put in a regex form that sudoers will understand ? I tried reading the sudoers manual, but it didn't help a lot .

View 1 Replies View Related

Ubuntu :: Transmission Has Started Getting Permission Denied Errors When Saving New Torrents

Jan 16, 2010

Transmission has started giving me errors when I download a new torrent file. It has stopped being able to create the new file (ie touch) to begin the download. Error: Permission denied (/path/to/specific/file/in/new.torrent) Old torrents are still running to the same drive location. No permissions have changed.

View 9 Replies View Related

Networking :: Permission / Group After Sshing Into Box

Nov 4, 2010

I've got a problem with groups on linux (slackware). I'm trying to ssh from one computer into another to do some work, but I'm running into permission issues.

If I do the work locally as a user
If I do the work with ssh as root
If I do the work with ssh as a user ;(

Both computers are mine. (By locally, I mean physically sitting by that computer logging in the normal way.) When I log in locally as a regular user I'm a member of the following groups: 'users floppy audio video cdrom' But when I ssh into the same computer, being the same user, I'm only a member of the group: 'users'

Q1. What gives? Where/How can I change this?

Q2. Also, where do linux/slackware store the group information? According to /etc/group I'm only member of 'users'. Where does it keep the info that I belong to 'users floppy audio video cdrom'?

View 2 Replies View Related

Slackware :: Can't Change The Group Permission For The Folder

Jan 13, 2010

I've installed slax6 onto an ext3 partition and setup a users account, i've also just managed to mount some virtualbox shared folders which are working and i can access them fine. The problem is I cannot seem to give limited user accounts access to them. root can access them no problem! but right clicking and changing the permissions do nothing, because once I click apply, reopen the menu, the changes have reverted. I've tried chmod'ing them.. chmod o=rwx /mnt/folder I used 'o' because I can't seem to change the group permission for the folder. The shared folder I am mounting is formatted in NTFS and the other in ext3, I can't change the permissions of either.

View 5 Replies View Related

General :: Remove Group Write Permission?

Oct 22, 2010

How would i write a command that can find all the objects under the etc directory that have group write permission enabled and have not been accessed in the last X days. This is what i got from internet souce but i m not able to modify it according to my distribution. find /etc -perm -0070 -a -mtime +X ! -type l?print Here is the exact statement from link i m referring to.

[Code]..

View 3 Replies View Related

Server :: Binary File Error - Cannot Execute

Oct 13, 2010

When im typing any command its giving error -bash: /bin/ls: cannot execute binary file. how to resolve this im using fedora 13.

View 11 Replies View Related

Ubuntu :: Unable To Set Execute Permission?

Jun 18, 2011

I have a triple boot system with Ubuntu 11.04, Windows 7 and Windows-XP on it. My disc configuration is something like this... ('cause I think it would be required for you to understand my problem) I have a 250GB hard disk which was originally partitioned with Windows-XP in six partitions C,D,E,F,G and H (All NTFS type) with 'C' drive having Windows-XP on it and 'D' drive having Windows-7 on it.

I installed Ubuntu on the 'H' drive by partitioning it into two halves of approximately 20GB each. One partition is named 'New Volume' as per Windows naming scheme. On the other partition I installed my Ubuntu-11.04 OS. As per my plan I would be using this 'New Volume' for all my Ubuntu related data and software only. I want to install 'Ant' build tool for Java to be usable on my Ubuntu. For this, as described on the Apache Ant user manual I downloaded the 'apache-ant-1.8.2-bin.tar.gz' and extracted it. All this I did in the 'New Volume' drive.

Now as per the 'Ant' manual I needed to change a file's ('/media/New Volume/ubuntu files/software files/apache-ant-1.8.2/bin/ant') permission to executable, which is currently set to '-rw-------' and I want it to be '-rwx------'. I've tried various things such as 'chmod/sudo' and also tried changing the permission with the 'root' user, but so far I've not been able to change the permissions for this file. However, if I copy the 'apache-ant-1.8.2' folder to '/home' directory then I've been able to change the permission for the concerned file.

View 4 Replies View Related

General :: Directory Execute Permission

Apr 24, 2010

I was always confused about the way it says that the execute permission for a directory means "able to list it". I just don't get it.Does no exec permission mean "still able to read files from in the directory, but not able to find out what files it contains" or what?

View 2 Replies View Related

Ubuntu Servers :: Group Permission On Dir And Files For Apache

Mar 5, 2011

Me and 2 others are working on a website (Bob, Mike, and Joe). We made a group called developers and each of us are in the developers group. The Apache server runs as www-data. When we upload files, the file owner is the users name and the group is "developers".

/etc/group has the following

Code:
www-data:x:33:
bob:x:1000:
mike:x:1001:

[Code]....

I have always just set everything to 775 and just called it good. Well I don't want to wake up to a Russian political message plastered all over the site. It's time I do things properly.

View 3 Replies View Related

General :: Group Control - Read & Write Permission ?

Dec 21, 2010

I have a file the owner is root:root ( mode is 644 ), I want to release read & write permission to a non root user ( eg. admin_usr ), I tried to create a specific group ( eg. ADM ) and release it to root user and admin_usr ( by adding this users to ADM in /etc/group ) , but it is not work, if preserve the file mode to 644 , is it ok? how to do it if I want to have read & write permission in my case ?

View 5 Replies View Related

Ubuntu Servers :: Server Refuses To Execute A File?

Feb 28, 2010

started setting up my 3rd ubuntu server under the OS of Ubuntu Linux 9.04 64 bit. I have configured the server to allow root access and am using this to execute this file. As you can see from the screenshot of PuTTy, the file exists but is refusing to load up. I am also able to nano the file. I have tried moving the file to /root/ and still had no luck.

View 3 Replies View Related

General :: How To Execute Permission To Chmod Command

Apr 14, 2011

How can I give execute permission to chmod command from run level 3.Because in GUI mode we have the execute option in the properties of file. E.g. I gave following command
chmod -x chomod
After that I want to give the execute permission (x) to chmod command again but how from command prompt?

View 5 Replies View Related

General :: Get Samba Read + Execute Permission

Feb 20, 2010

i need 2 king of permission 1 is full access and other is read+exceute. it can be by ip by userid or by group. as i am beginner try to find such example cant find it so far see below my smb.conf file

[Code]....

View 1 Replies View Related

Ubuntu Security :: Group Permission - Access Privileges On Several Folders

Jul 9, 2010

I have a problem access privileges on several folders like this one

Code:

It clearly says that I have owner and group read write and search (it's a directory) privileges.

I login as user master part of group events

Code:

But I can't access the folder (Permission denied).

View 9 Replies View Related







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