similar to: howto force file deletion with restricted permissions

Displaying 20 results from an estimated 100000 matches similar to: "howto force file deletion with restricted permissions"

2005 Aug 12
1
"force groups" and file deletion on 3.0.14a
We recently upgraded our file servers from RHEL 3 running Samba 3.0.11 to CentOS 4 running Samba 3.0.14a. Since then, we've been getting some "permission denied" errors while deleting files. Most of our shares have permissions set up similar to the following: [database] valid users = @faculty randomsecretary1 randomsecretary2 @admin force group = faculty Under Samba
2013 Jun 04
1
[PATCH] add restricted mode to sftp-server
Hello. These patches add a new mode of operation for the sftp server. It is located between the ordinary, unrestricted mode and read-only mode. It allows you to add files to the server, but only if these files do not exist on the server before. Changes to existing files - are prohibited. Please review them, maybe these patches will be useful not only to me. Thank you. -------------- next part
2002 Dec 07
2
directory vs. file delete permissions
I have an [apps] share that was intended to be read-only (to keep viruses away) however some Windows programs require rw access to specific files. I don't want to open-up everything on the share to rw, only those specific files/directories that need 'w' access. Here's the dilemma: In order for users to be able to change a file, the file and directory it's in need to have rw
2002 Sep 10
2
Who may delete a file ?
Hi All, I was checking the access rights and a problem (hence a question) appeared: Who can delete a file through Samba ? Suppose we have the following situation: drwxrwxrwx john finance directory -rw-r--r-- jack finance directory/file Under unix everyone can delete the file. Under Samba, the documentation says (due to the Windows sementic) you also need the write access to the
2006 Dec 12
1
modifying file permissions
Folks, I have smbd 2.2.7 running on a Redhat Linux 9.0 system from which I am mapping directories onto my Windows XP Professional system. For the most part everything is working fine. The one thing that doesn't seem to work is that of changing permissions on a file from Windows. I have a user grday in group developer on the linux system with home directory /home/grday. I have the
2002 Mar 30
1
File permission umask howto?
I'm trying to figure out how to cause rsync to create the file on the backup server with 700 permission and specific owner "some_user" (not root) I try to do it in several way with no success. The command I'm using is: rsync -r -t -v -z /dir some_user@server::module so that it don't copy permission It always give the files 744 permission, that mean that every on can read
2011 Jun 02
5
Samba vs Linux file permissions
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I cannot find anything in the documentation or mailing list that addresses this oddity. I've installed Samba Version 3.4.7 on Ubuntu Server 10.04, and I'm utterly confused by samba's behavior regarding permissions. Users on the server have home directories in /home/chemgroup/username. (chemgroup is actually a symlink to another
2010 Dec 30
1
File Permissions 770 vs 760
I hope I did not miss something obvious, but I am having some file permission issues. I am running Ubuntu 10.04 LTS Server. I have some directories served up by Samba. I force a group name to be used for all files created on these directories to which all users belong. In one directory I need to force users to save files with 770 permission for draft documents so that other users can work on them
2023 Sep 22
1
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
On Fri, 2023-09-22 at 07:37 -0400, Kevin Korb wrote: > So I decided to do a quick test using the Linux kernel source tree since > it has lots of files. Excellent idea using kernel sources! A lot of different files... I will use this to create indicative benchmarks for different scenarios... > ? I duplicated a tree, used 'find . -type f -exec > chmod 444 {} +' to make read
2011 Oct 14
1
ACL with ActiveDirectory@Groups
Dear All, I'm new on this group.Greetings to all. I have problem with this smb.conf share section (I'm not samba admin, but I know this configuration) smb.conf 3.5.8 ################### [AD-test-acl] comment = AD-test-acl path = /fs-e/AD/group/AD-test-acl read only = No create mask = 0770 directory mask = 0770 inherit permissions = Yes
2005 Aug 02
1
RCS/delete on close/delete readonly
Hi Apologies if this is a FAQ, I've tried Googling... I'm trying to set up CD-RCS on Windows boxes talking to our Linux Server (Samba 3.0.10-1.fc1.1.legacy). Apparently, the way this works is that it needs to be able to delete files that are read-only and not owned by you; they recommend that you set "delete readonly = yes" in the config file. The problem is that this
2023 Sep 22
2
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
So I decided to do a quick test using the Linux kernel source tree since it has lots of files. I duplicated a tree, used 'find . -type f -exec chmod 444 {} +' to make read only files for rsync to want to chmod, then used cp -al to make several duplicate trees using hard linked files. An rm -rf on one such tree took .97 seconds while an rsync deletion took 1.25 seconds. Clearly I
2005 May 14
1
permissions not transferred using robocopy, xxcopy, net share migrate shares
Hello: I've been working for a few days on getting a FreeBSD 5.3 server up and running as a samba data backup server. My goal is to schedule periodic backups of our file server. After reading recommendations (e.g. by Mr. Terpstra) I've focused my attempts aroung robocopy, xxcopy, net rpc share migrate shares. However, I'm running into stumbling blocks that seem to involve a problem
2024 Oct 15
1
Optimal File Permissions for Shared Access Between Windows and Linux
I am experiencing challenges configuring optimal file permissions for a Samba share on my Raspberry Pi. My goal is to enable shared access for my wife, who uses an iPhone 13, to the directory |/mnt/shared/partage_de_fichiers| while preventing access to the main directory |/mnt/shared|. Here is my Samba configuration: ```[NAS] ?? comment = RaspberryPi ?? public = no ?? writable = yes ??
2018 Dec 18
3
Samba-created files with POSIX ACLs gaining execute bit
Hai, The docs shown are a bit old, yes, i suggest start reading these. https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs https://wiki.samba.org/index.php/Setting_up_a_Share_Using_POSIX_ACLs Look at the smb.conf man and search for acl ( or exec ) Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens
2014 Oct 16
0
Howto force directoy and file rights on version 4
Hi list! I have problems with the enforcement of rights with the installed version 4.1.6-Ubuntu (default of Ubuntu 14.04 Server) I just want a setting which enforces 0777 access rights on any direcory or file that is written/changed by anyone. My smb.conf looks like this: ----8<---- [global] netbios name = MYSERVER workgroup = WGP local master = yes domain master= yes preferred master =
1998 Nov 10
2
File & Directory permissions
[The following is my understanding from doco and experiments - hosts Solaris 2.5.1 and Samba 1.9.18p3, client NT 4.0 - please re-use if wanted] Samba presents a DOS file permissions view to users. That is they can set the following attributes for files: Archive, Hidden and Readonly. As an ordinary user on NT 4.0 System attribute is not accessible. These attributes map as follows onto the
2010 Feb 05
1
Howto determine flags like readonly and readwrite.
Hello, I'm writing a fuse module (fuse-wokspace-union) which makes local (USB) and remote (FTP, SMB, and SSH and maybe IPX(netware)) resources available in a map in the homedirectory of the user. Look for more information my website: http://linux.bononline.nl/linux/create_workspace/index.php http://linux.bononline.nl/linux/mount.md5key/index.php
2010 Oct 01
1
File permissions getting destroyed with M$ software on ZFS
All, Running Samba 3.5.4 on Solaris 10 with ZFS file system. I have issues where we have shared group folders. In these folders a userA in GroupA create file just fine with the correct inherited permissions 660. Problem is when userB in GroupA reads and modifies that file, with M$ office apps, the permissions get whacked to 060+ and the file becomes read only by everyone. I did
2018 Aug 17
2
alias.scope and local restricted C pointers
On 08/16/2018 07:52 PM, Bekket McClane via llvm-dev wrote: > > >> On Aug 16, 2018, at 4:41 PM, Troy Johnson via llvm-dev >> <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: >> >> Concerning slide 16 >> of https://llvm.org/devmtg/2017-02-04/Restrict-Qualified-Pointers-in-LLVM.pdf >>   >> Specifically “Currently, LLVM