Re: File permissions - how to "lock" a directory

2012-09-29 Thread Paul Schmehl
--On September 29, 2012 4:59:50 PM -0500 Adam Vande More wrote: On Sat, Sep 29, 2012 at 4:41 PM, Paul Schmehl wrote: I have a particularly thorny problem I'm trying to solve, but I'll bet FreeBSD has a solution. I'm running a webserver using suphp.  It's very picky about permissions. It wa

Re: File permissions - how to "lock" a directory

2012-09-29 Thread Adam Vande More
On Sat, Sep 29, 2012 at 4:41 PM, Paul Schmehl wrote: > I have a particularly thorny problem I'm trying to solve, but I'll bet > FreeBSD has a solution. > > I'm running a webserver using suphp. It's very picky about permissions. > It wants the web server user (www) to be the owner of all directori

File permissions - how to "lock" a directory

2012-09-29 Thread Paul Schmehl
I have a particularly thorny problem I'm trying to solve, but I'll bet FreeBSD has a solution. I'm running a webserver using suphp. It's very picky about permissions. It wants the web server user (www) to be the owner of all directories and files. Meanwhile, the site owners want to be able

Re: GUI for file permissions management

2009-11-19 Thread Chad Perrin
On Thu, Nov 19, 2009 at 07:23:33PM +, Thomas Adam wrote: > 2009/11/19 Chad Perrin : > > Those are all filesystem browsers/managers -- right?  I've already told > > the person who asked that many such applications have that kind of > > functionality.  In my initial question to this list, I said:

Re: GUI for file permissions management

2009-11-19 Thread Thomas Adam
2009/11/19 Chad Perrin : > Those are all filesystem browsers/managers -- right?  I've already told > the person who asked that many such applications have that kind of > functionality.  In my initial question to this list, I said: I know what you mentioned -- unfortunately you're only going to fin

Re: GUI for file permissions management

2009-11-19 Thread Chad Perrin
On Thu, Nov 19, 2009 at 08:22:17AM +, Thomas Adam wrote: > 2009/11/19 Chad Perrin : > > Someone asked me recently whether a GUI for file permissions management > > Anything like: mc, worker, rox, etc? Those are all filesystem browsers/managers -- right? I've already

Re: GUI for file permissions management

2009-11-19 Thread Thomas Adam
2009/11/19 Chad Perrin : > Someone asked me recently whether a GUI for file permissions management Anything like: mc, worker, rox, etc? -- Thomas Adam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/free

GUI for file permissions management

2009-11-18 Thread Chad Perrin
Someone asked me recently whether a GUI for file permissions management (front end for stuff like umask, chmod, and maybe even login.conf or adduser.conf configuration) exists. I know that some filesystem browser applications like Nautilus provide at least some of that kind of functionality, but

Re: Default file permissions

2008-11-04 Thread Dánielisz László
efault file permissions 2008/11/4 Dánielisz László <[EMAIL PROTECTED]>: > Roey, you can do a chron to chmod the downloaded directory. > Did you mean using cron? I'm not very familiar with that, but as far as I know cron jobs can run at specifc times, not on specifc events. Creati

Re: Default file permissions

2008-11-04 Thread Dánielisz László
Roey, you can do a chron to chmod the downloaded directory. From: Roey D <[EMAIL PROTECTED]> To: freebsd-questions@freebsd.org Sent: Tuesday, November 4, 2008 9:00:24 AM Subject: Default file permissions I have a server running Azureus to download t

Re: Default file permissions

2008-11-04 Thread Roey D
2008/11/4 Dánielisz László <[EMAIL PROTECTED]>: > Roey, you can do a chron to chmod the downloaded directory. > Did you mean using cron? I'm not very familiar with that, but as far as I know cron jobs can run at specifc times, not on specifc events. Creating a cron job that runs every 5 minutes fo

Re: Default file permissions

2008-11-04 Thread Jeremy Chadwick
r the owner. > As far as I looked, Azureus cannot be configured to dump it's files > with different permissions. > Is there any way to apply a "Inherited file permissions" on a specific > directory? (i.e all files created on this folder will have a specific > perm

Default file permissions

2008-11-04 Thread Roey D
27;s files with different permissions. Is there any way to apply a "Inherited file permissions" on a specific directory? (i.e all files created on this folder will have a specific permission set, unless specifically changed by some application) I prefer doing this with the classic permi

Re: Preserving file permissions with dump and restore

2008-02-06 Thread Jerry McAllister
On Wed, Feb 06, 2008 at 12:44:49AM -0500, Francois-Xavier Charpentier de Beauville wrote: > Wojciech Puchar wrote: > >>Hi, > >> > >>I have a box with three hard drives: > >>/dev/da0 - dedicated to the OS > >>/dev/ad4s1e - data drive - mounted as /store > >>/dev/ad5s1e - hold a backup of /dev/ad4

Re: Preserving file permissions with dump and restore

2008-02-05 Thread Francois-Xavier Charpentier de Beauville
Wojciech Puchar wrote: Hi, I have a box with three hard drives: /dev/da0 - dedicated to the OS /dev/ad4s1e - data drive - mounted as /store /dev/ad5s1e - hold a backup of /dev/ad4 - mounted as /backup I used 'dump' to backup everything from /store to /backup with the following command: dump

Re: Preserving file permissions with dump and restore

2008-02-05 Thread Wojciech Puchar
1) made /store pristine: newfs -U /dev/ad4s1e 2) mounted /dev/ad4s1e on /store 3) cd into /store 4) ran the command: restore -r -uv -f /backup/fullbackup 5) remove 'restoresymtable' from /store Thanks in advance for your help you did restore as root? (i think so but just for sure) it is someth

Preserving file permissions with dump and restore

2008-02-04 Thread Francois-Xavier Charpentier de Beauville
e 4) ran the command: restore -r -uv -f /backup/fullbackup 5) remove 'restoresymtable' from /store The restore went fine and I had all the files back. However, all file permissions were gone. How can I preserve file permissions with dump / restore? T

Re: File permissions

2005-02-23 Thread Mike Hauber
On Wednesday 23 February 2005 03:46 am, Gareth Bailey wrote: > Hi there, > > I need to set permissions on the /www/data-dist directory such > that when samba users create new files in it the ownership of > the files will automatically be set to www. > > How might i do this. I've had a look at the c

File permissions

2005-02-23 Thread Gareth Bailey
Hi there, I need to set permissions on the /www/data-dist directory such that when samba users create new files in it the ownership of the files will automatically be set to www. How might i do this. I've had a look at the chmod and sticky manpages with no luck. Thanks, Gareth __

Re: question about SAMBA shared directory and file permissions

2004-04-18 Thread [EMAIL PROTECTED]
i found out a very important thing. one is best off having the top directory owned by the group you want to have access. mine was owned by wheel. no problem for those of us in that particular group! Peter Risdon wrote: Peter Risdon wrote: There's a useful guide to configuring samba at: http

Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Eric Heintzberger
This is how I would do it, assuming I understand you correctly: [wwwdev] comment = Virtual Web Servers HTTP dirs path = /usr/wwwdev browseable = yes # So that new files are created with 0664 mode -- force create mode = 0664 # So that new directories are created with 0775 mode -- force directory mo

Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Peter Risdon
Peter Risdon wrote: create mode 0774 # Windows clients that seems to require the extra bit And just to correct my own gibberish (maybe I need some coffee): create mode = 0774 # Windows clients seem to require the extra bit PWR. ___ [EMAIL PROTECTED]

Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Peter Risdon
Peter Risdon wrote: There's a useful guide to configuring samba at: http://hr.oregon.edu/davidrl/samba/server.html Whoops. http://hr.uoregon.edu/davidrl/samba/server.html PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listi

Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Peter Risdon
certain directory tree to users in a particular group. at the moment, i am having to chown all files over to whom ever is editing them at any given time. I was thinking more of what happens to file permissions when a file is accessed by a samba user. Say they start at something like: #ls -l -

Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Anthony carmody
Peter Risdon wrote: [EMAIL PROTECTED] wrote: Hi, i have been having problems with a SAMBA shared directory and user permissions. My smb.conf file is simple and allows for members of 'wwwdev' access the directory, and they can when i test it, but we get all kinds of problems with the permissi

Re: question about SAMBA shared directory and file permissions

2004-04-17 Thread Peter Risdon
[EMAIL PROTECTED] wrote: Hi, i have been having problems with a SAMBA shared directory and user permissions. My smb.conf file is simple and allows for members of 'wwwdev' access the directory, and they can when i test it, but we get all kinds of problems with the permissions on various files a

question about SAMBA shared directory and file permissions

2004-04-17 Thread [EMAIL PROTECTED]
Hi, i have been having problems with a SAMBA shared directory and user permissions. My smb.conf file is simple and allows for members of 'wwwdev' access the directory, and they can when i test it, but we get all kinds of problems with the permissions on various files and directories: /

built-in ftpd and uploaded file permissions

2003-09-12 Thread Sergei Vyshenski
Dear experts, Using built-in ftpd, is it possible to control permissions of uploaded files for user anonymous? Files, uploaded by anonymous, have permissions 644 irrespective of mask values requested by 1) option -u for ftpd, and 2) from file login.conf I would prefer to have 660 for uploaded file

Re: File permissions suddenly change for /dev/null.

2003-09-03 Thread Ed Alley
On Tue, 2 Sep 2003, Ed Alley wrote: > >> I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null >> gets mysteriously changed by some unknown process to: >> >>crw--- 1 root wheel 2, 2 Sep 2 11:20 /dev/null On Tue, 2 Sep 2003, David Landgren

Re: File permissions suddenly change for /dev/null.

2003-09-02 Thread David Landgren
Ed Alley wrote: I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null get mysteriously changed by some unknown process to: crw--- 1 root wheel 2, 2 Sep 2 11:20 /dev/null This has a devastating effect on user processes that want to open /dev/null. Whenever my system s

Re: File permissions suddenly change for /dev/null.

2003-09-02 Thread Adam McLaurin
On Tue, 2003-09-02 at 14:32, Ed Alley wrote: > I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null get > mysteriously changed by some unknown process to: > > crw--- 1 root wheel 2, 2 Sep 2 11:20 /dev/null That's very strange indeed. Have you

File permissions suddenly change for /dev/null.

2003-09-02 Thread Ed Alley
I'm running FreeBSD-4.8. Sometimes the file permissions for /dev/null get mysteriously changed by some unknown process to: crw--- 1 root wheel 2, 2 Sep 2 11:20 /dev/null This has a devastating effect on user processes that want to open /dev/null. Whenever my system starts a

Re: file permissions

2002-11-05 Thread Cliff Sarginson
On Tue, Nov 05, 2002 at 11:58:30PM -0400, m wrote: > > > Is this good paranoia? have you had any problems, > > > have you tried this? > > > > You really should provide more details. Have we tried what? > > I don't want to remove "ALL" access to a file, I want the owner and the > groups to use i

Re: file permissions

2002-11-05 Thread m
> > Is this good paranoia? have you had any problems, > > have you tried this? > > You really should provide more details. Have we tried what? I don't want to remove "ALL" access to a file, I want the owner and the groups to use it, but not "world" or "anyone". - rwxrwx - - - This question

Re: file permissions

2002-11-05 Thread Giorgos Keramidas
On 2002-11-05 23:34, m <[EMAIL PROTECTED]> wrote: > Hi all, I was wondering if it is good or bad to set permission to > something like 750... Whose permissions? > That's to say, 0 for users. The most secure system is the one that is offline, not connected to a power cable, and locked in a room t

file permissions

2002-11-05 Thread m
Hi all, I was wondering if it is good or bad to set permission to something like 750... that's to say, 0 for users. Is this good paranoia? have you had any problems, have you tried this? thanks. CC please. Bye. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questi