How can my main user access files of sharing only user?

I use network MFD to scan files into shared folders through Samba. Works perfectly fine on Windows: scanner uses its own limited account to access shared folder and store files, but Windows admin user is the owner of this folder and of all of the PDFs in it.
I wanted to setup same system under Mac OS X 10.9.4. I created sharing only user "scanner" for my network MFD to access shared "Scan" folder on my MacBook Air through Samba. I shared this "Scan" folder for both my main MacBook user and "scanner" user with read/write permissions. Now if my network scanner logs on to the shared folder with username/password of my main user (and I consider this insecure and wrong) - everything works fine. But if network scanner uses its special "scanner" account, it creates file which I can't open later with my main MacBook user ("scanner" is the owner of this file, and "main" doesn't have permission even to read the file).
Looks like newly created files in shared folder don't inherit permissions of the folder.
Is there a way to force my main MacBook account to be owner of all files created by "scanner" account (at least in one folder used for scan results)?

Create a “scannergroup” group in Users & Groups. It’s the same process as for a user, but change the type to Group. Add all of your real users and your scanner user to the group.
Open Terminal and copy/paste this command into the terminal window. If you want to use different names for the Group or the folder, edit the line in a text editor, then copy/paste it into Terminal.
sudo chmod -R +a "scannergroup allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit" /Users/Shared/Scan
To change the group name in the command, change scannergroup to whatever you create in Users & Groups.
To change the folder, change the full path as shown by /Users/Shared/Scan
That command creates an Access Control List entry that allows each member of the scannergroup to read/write/delete/ items created by others in the group.

Similar Messages

  • How can I upload and access files to the iCloud?

    Hello,
    I am using iCloud on my MacBook Pro (OS X Lion) and iPhone 4 (iOS 5). Everything works just fine, but I'd like to put miscallenous files to the cloud as well, like .zip, .dat, .txt, .ini, .doc. On my MacBook I have put them all into the folder "Documents".
    Question 1: Are my files, now that I put them to the Documents folder, in the Cloud already?
    Question 2: How can I now access and view those files on my iPhone? (I used MobileMe before, and there I used a app called "iDisk",)
    I'm really lokking forward to your replies.
    Pascal

    Don't whine, there is a workaround, better than the idisk.
    Download an app you wish to work as your iDisk. It is essential that this app supports iCloud. I personally prefer the GoodReader app.
    Go to your /Users/<root folder name>/Library/Mobile Documents folder and locate the folder the app uses to store your files.
    Create a folder in the "Documents" folder of the folder you found. I named that folder iCloud docs. You can name it whatever you want... e.g iDisk
    (now let's add some style) download the icon I created.
    Open the icon I created with preview and press cmd + a and then cmd + c .
    Select the "iCloud docs" folder you created, or whatever you named it, press cmd + i
    Select the folder icon on the top left and press cmd + v
    Select again the folder and press cmd + L
    Drag & drop the alias folder wherever you need it
    or
       8. If you want to be supercool you can also drag & drop the original (not the alias) folder on your dock.
    Hope you enjoy the new super cool iDisk.
    Cheers.

  • ITunes how can i create a new file and put only some songs on it? I have a hard time understanding iTunes.

    I'm trying to make a new file for iTunes music. I'm really confused on how it all works. can anyone help

    Launch iTunes with the Shift key held down, create a new library, and import your music to it.
    (119794)

  • How can I open and edit files that were developed and published by ftp to my host on my old macbook, which I can no longer access.

    How can I open and edit files that were developed and published via ftp to my host on my old macbook, which I can no longer access. The HD containing the files cannot be accessed. I want to be able to download the published files to be edited in iweb?

    You CAN'T download published files and then edit them in iWeb because iWeb can't open them - it has no import facility so is unable to open any html or css files - a previously published site.
    You can download these files yes, but you'll need to use them as a guide or to cut and paste text from there whilst you re-build your site in iWeb.
    The only other way is to download the files and then open them with an html editor such as TextWrangler or use one of the other web design programmes out there that is capable of importing html and css such as Dreamweaver of Flux 4.
    These are your only alternatives as iWeb can't import and if you want to continue to use iWeb, then you'll have to re-build your site from scratch.  If you do just remember to back up your domain.sites file this time around - it is found under your User/Library/Applicaion Support/iWeb/domain.sites.

  • How can i restrict user to access database object (procedure) or JSP

    Hi
    I have 9ias infrastructure 902, on win2k box with 9i DB.
    and I have one PL/SQL web application and another J2EE application both are hosted by 9ias 902.
    Now we are looking forward to couple both with SSO.
    I have deloyed samples of both and works fine.
    Each application have different set of users, i mean there is no common user.
    How can i restrict user not to view the web page which is not authorised to them.
    as far as i understand from the Grocery demo is pick the role (which is a string only) from OID and programaticall apply security via if else endif construct.
    can any one through light upto my concern.
    regards
    [email protected]

    Hey Mary
    No i haven't try to do that via pl/sql....
    as the our application is j2ee app... deployed in oc4j.. with sso and ldap....
    still finding to do so....
    what i have realized that LDAP is just to store user information in inverted tree... and one have to build separated access security mechnisum that will be applicable to j2ee system....
    thanx...
    samir....

  • How can i hide a pages file from other users

    How can I hide a pages file so other users can't open or see it?

    My own tip is to save this kind of doc in an encrypted disk image (the .dmg items)
    Such item resemble to every downloaded installer so it doesn' take special attention and the encryption scheme is an efficient one.
    Yvan KOENIG (VALLAURIS, France) dimanche 21 août 2011 14:53:01
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How can I print to a file? Msg: "Could not open the file, access denied"

    How can I print to a file? Printing itself works fine, but I get this error message when I select the "print to file" box.

    Hi gag5212, the "Print pages to PDF" extension does not use the normal print dialog. Instead, right-click the page and look for its menu there, or you can add its button to one of your toolbars.
    I'm surprised by your results with the other sites.
    The http://www.primopdf.com/ page layout is completely whacky. The product was acquired by the NitroPDF people, but what is going on here? Probably best to ignore that one for now.
    On http://www.pdfforge.org/ you should get something like the attached on the download page. I'm alarmed to hear you got something strange. Do you have any extensions that you don't recognize? You might be infected with something that redirects your downloads in some way. Although Norton is generally a solid product, you should consider some supplemental scans. This article lists tools that other Firefox users have found helpful: [[Troubleshoot Firefox issues caused by malware]]

  • Hey guys, how can i password protect my files in external hard drive? I want to access those files both from mac and windows PC!

    Hey guys, how can i password protect my files in external hard drive? I want to access those files both from mac and windows PC!

    If you want a cross-platform solution that doesn't require the use of third-party software, use an external drive with hardware encryption. The device will have either a physical key or a numeric keypad. I don't have a specific recommendation.

  • How can all the users in my computer (my kids) have access to all the photos I have in I Photo?

    How can all the users in my computer (my kids) have access to all the photos I have in I Photo? My photos only appear when I (the administrator) log into the computer. I want my kids to be able to access them also.

    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

  • When i try to access iwork on iCloud on my mac, i get an ipage logo with 2 options learn/get image. I already have ipage on my mac. How can i get to the file  management page?

    When i try to access iwork on iCloud on my mac, i get an ipage logo with 2 options learn/get image. I already have ipage on my mac. How can i get to the file  management page?

    Lion will only let you add documents to iCloud through iCloud.com, iCloud.com requires the iOS apps before you can use it.
    Mountain Lion will let you add documents to iCloud from the iWork apps themselves, you don't then need the iOS apps before they can be opened on another Mac.

  • How can I save adobe reader file from gmail into my adobe reader app?? i would like to open one file in place where I'm not able to access internet and for that reason i would like to save it. is that even possible?

    How can i save adobe reader file from my gmail into my adobe reader application. or is there any other way i can save it into my phone so I'm able to open in any situation not just from my gmail???

    Long hold on the document in mail and it should give you the open in... option, select adobe reader and the file is now saved locally for viewing even while offline.

  • How can I deny user input file name (JFileChooser )

    in a common JFileChooser.
    when user open it, how can it deny user to input in filename field?

    just try this
    JFileChooser chooser = new JFileChooser();
    int option = chooser.showOpenDialog(this);
    if( option == JFileChooser.APPROVE_OPTION) {   }
    change the if little bit to suit yr purpose
    or if not try
    getAccessibleContext() this method may deal the situation
    although i have not tried it......
    i m also trying .........
    the onw who gets it earlier notifies other...
    is it fine
    rgds

  • How can I open a cc2014 file in my cs6 version of Indesign ?

    How can I open a cc2014 file in my cs6 version of Indesign ?
    I have several files that has been saved in a cc2014 version and I can't open them in my CS6 version of Indesign.
    I don t have access to anyone who have the cc 2014 version to convert the file.
    How can I do it from my cs6 version?
    THANKS!

    You can't do it from CS6.
    You have to export to IDML from InDesign CC2014 (or whatever the version it was created in) and then open the IDML in the earlier versoin of InDesign.
    All explained in the FAQ on the main forum page.

  • How can i run a jar file as EXE on mouse click..

    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*

    amrit_j2ee wrote:
    *{color:#0000ff}how can i run a jar file as EXE on mouse click..is it possible in any way?????????{color}*Do you mean converting it from a jar file to an EXE file or do you mean that you would like to run the application by just double clicking it?
    If it's the latter then you need to make the jar file including a manifest.
    The manifest can be just a txt file with its content to be something like this:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.7.1
    Created-By: Somebody
    Main-Class: NameOfTheMainClass
    Class-Path:
    X-COMMENT: Main-Class will be added automatically by buildTo make the jar file including the manifest, use something like this in your command prompt (of course you must have compiled your java file(s) first):
    jar cfm test.jar MANIFEST.txt NameOfTheMainClass.classAfter that you'd be able to run your application just by double clicking it.
    If you're a NetBeans user, you can build your standalone application by right-clicking your project and then going to properties => run => and choosing a Main class. After that right click on that project and "Clean and Build", locate the jar file in the "dist" folder and double click it =]
    Hope it helps,
    LD

  • How can i password protect some files and web sites?

    How can I possword protect some files and web sites on my mac air so others using my laptop can't access them?

    Set a password for your user; create other user accounts for when other people want to use it. You can create a "guest" login which gets wiped after every logout, if that's more appropriate for them.
    Matt

Maybe you are looking for

  • Opening Photoshop after Hard Drive Failure

    Hi! I suffered a recent hard drive failure on a 2011 Mac 0S X. I just received it back and when I try to start CS6, it gives me an error: "LIcensing for this product has stopped working.  You cannot use this product at this time.  You must repair pro

  • PIXELATED IMAGES AFTER EXPORT TO IDVD

    Help! I'm confused and frustrated. I have imported 65 images from iPhoto to iMovie and added titles, music and a few transitions. The movie plays fine in iMovie full screen on my 20 inch iMac. After exporting to Idvd project a number of the images (m

  • How do you get a fillable pdf to perform a new calculation if data is changed on form

    I have created a form to calculate payment terms. The forms work great however if you make a mistake inputting or change data after calculation has been preformed i need the new data to be calculated. Is there a way to do this? thanks

  • How to partially created files in java

    In my program i am monitering a folder to identify a particular file is created. this file created by another program. i don't have any control to that. i am using a while loop to moniter the file folder. i am using following codeing for that. while

  • Filter By Text

    Is it possible to filter by parts of Text? I want to filter out any hr positions that have in the text the term "Casual". This could be a large number of positions and it could be a number of sequences in the text (e.g. Causual maybe the first word,