[prev in list] [next in list] [prev in thread] [next in thread]
List: webmin-l
Subject: Re: [webmin-l] backup.pl permissions issue Q?
From: "R. Mariotti" <r.mariotti () fdcx ! net>
Date: 2011-01-28 17:32:44
Message-ID: 20110128123244.38215ugsmp14bvss () mail ! financialdatacorp ! com
[Download RAW message or body]
Thanks Jamie,
You got my brain aligned properly. For anyone else experiencing this
issue, the target NAS is mounted as a CIFS (Samba) share and that's
where the problem lies. Now on to the resolution.
Quoting Jamie Cameron <jcameron@webmin.com>:
> Webmin backups are always run as root, and so will any scripts they
> run. You can run a command as another user with something like the
> following though :
>
> su otheruser -c "some command"
>
> - Jamie
>
>
> "R. Mariotti" <r.mariotti@fdcx.net> wrote:
>
>> Running Ubuntu Server and latest webmin:
>>
>> I use the file system backup module to create a tar file into my home
>> directory then execute a shell script (defined as "command to run after
>> backup") to mv that backup out to my NAS device.
>>
>> The completion of that command always fails with a permissions error.
>>
>> Is there a way to control or override the username that runs that
>> command? If I use sudo it requires a password and this job runs at 2AM.
>>
>> Suggestions please? Thanks
>>
>>
>> ------------------------------------------------------------------------------
>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>> Finally, a world-class log management solution at an even better price-free!
>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>> February 28th, so secure your free ArcSight Logger TODAY!
>> http://p.sf.net/sfu/arcsight-sfd2d
>> -
>> Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
>> To remove yourself from this list, go to
>> http://lists.sourceforge.net/lists/listinfo/webadmin-list
>>
>
>
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic